From 943411c9006345b07557e76ff360c388ee8366c1 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 20 Oct 2021 12:31:42 +0800 Subject: +some lua libs --- Resources/DefaultContent/Libraries/luafun/debian/rules | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Resources/DefaultContent/Libraries/luafun/debian/rules (limited to 'Resources/DefaultContent/Libraries/luafun/debian/rules') diff --git a/Resources/DefaultContent/Libraries/luafun/debian/rules b/Resources/DefaultContent/Libraries/luafun/debian/rules new file mode 100644 index 0000000..9e473ed --- /dev/null +++ b/Resources/DefaultContent/Libraries/luafun/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +VERSION := $(shell dpkg-parsechangelog|grep ^Version|awk '{print $$2}') +UVERSION := $(shell echo $(VERSION)|sed 's/-[[:digit:]]\+$$//') + +%: + dh $@ --buildsystem=lua --with lua + +tarball: clean + tar --exclude=.git --exclude=debian --exclude rpm \ + --transform='s,^\.,luafun-$(UVERSION),S' \ + -czf ../luafun-$(UVERSION).orig.tar.gz . -- cgit v1.1-26-g67d0