[Debian-islamic-commits] [SCM] Packaging for Zekr branch, master, updated. debian/0.7.5+repack-2-12-g34fa825
أحمد المحمودي (Ahmed El-Mahmoudy)
aelmahmoudy at sabily.org
Mon Jun 28 07:23:11 UTC 2010
The following commit has been merged in the master branch:
commit 8e2a0f56f2aa50b4d8ce46d4b8025fccd92b8e53
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date: Tue Jun 22 20:35:24 2010 +0300
debian/rules: get-orig-source target is simplified to just call uscan.
diff --git a/debian/rules b/debian/rules
index b782c79..52d5633 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,27 +17,5 @@ override_dh_installchangelogs:
override_jh_depends:
jh_depends -jdefault -Xlibmp3spi-java -Xlibvorbisspi-java -Xlibjlayer-java
-DEB_SOURCE_PACKAGE := $(shell dpkg-parsechangelog | grep '^Source:' | cut -d' ' -f2)
-DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | cut -d' ' -f2 | cut -d- -f1 | cut -d+ -f1)
-DEB_DFSG_VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | cut -d' ' -f2 | cut -d- -f1)
-DIRNAME=${DEB_SOURCE_PACKAGE}-${DEB_DFSG_VERSION}
-TARNAME=${DEB_SOURCE_PACKAGE}_${DEB_DFSG_VERSION}.orig.tar.gz
-SFTARNAME=zekr-`echo "${DEB_UPSTREAM_VERSION}" | sed 's/\~//'`-linux.tar.gz
-
get-orig-source:
- wget http://kent.dl.sourceforge.net/sourceforge/zekr/${SFTARNAME}
- tar -xzf ${SFTARNAME}
- find zekr/* -type f -print0 | xargs -0 chmod -f 644
- find zekr/* -type d -print0 | xargs -0 chmod -f 755
- chmod 755 zekr/zekr.sh
- rm zekr/dist/zekr.jar zekr/res/*.ttf zekr/res/text/trans/yusufali.trans.zip -f
- rm -f zekr/res/image/sura-header.png
- rm zekr/lib -rf
- sed -i 's/trans.default *= *yusufali/trans.default = transliteration-en/i' zekr/res/config/config.properties
- mkdir zekr/src
- unzip zekr/dist/zekr-src.jar -d zekr/src/
- rm zekr/dist/zekr-src.jar
- rmdir zekr/dist
- mv zekr ${DIRNAME}
- tar -czf ${TARNAME} ${DIRNAME}
- rm ${DIRNAME} ${SFTARNAME} -rf
+ uscan
--
Packaging for Zekr
More information about the Debian-islamic-commits
mailing list