From 30f2f46474bf4eda5f10d4c64a07cde01d469f66 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 15 Nov 2021 11:54:17 +0800 Subject: *rename DefaultContent -> BuiltIn --- Data/BuiltIn/Libraries/luafun/debian/rules | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Data/BuiltIn/Libraries/luafun/debian/rules (limited to 'Data/BuiltIn/Libraries/luafun/debian/rules') diff --git a/Data/BuiltIn/Libraries/luafun/debian/rules b/Data/BuiltIn/Libraries/luafun/debian/rules new file mode 100644 index 0000000..9e473ed --- /dev/null +++ b/Data/BuiltIn/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