summaryrefslogtreecommitdiff
path: root/libre/unzip-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-11 04:53:52 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-11 04:53:52 -0200
commit75c6aa76e5a459ec815e7ddb65b054b86002e0c6 (patch)
treea76fd11d8e54b64b424e67b517e273144395ce30 /libre/unzip-libre
parent8763238e97d0c62ea0f684113e7619d105a07a28 (diff)
downloadabslibre-75c6aa76e5a459ec815e7ddb65b054b86002e0c6.tar.gz
abslibre-75c6aa76e5a459ec815e7ddb65b054b86002e0c6.tar.bz2
abslibre-75c6aa76e5a459ec815e7ddb65b054b86002e0c6.zip
unzip-libre: add mksource
Diffstat (limited to 'libre/unzip-libre')
-rw-r--r--libre/unzip-libre/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/libre/unzip-libre/PKGBUILD b/libre/unzip-libre/PKGBUILD
index 020740313..b9e4550a4 100644
--- a/libre/unzip-libre/PKGBUILD
+++ b/libre/unzip-libre/PKGBUILD
@@ -15,16 +15,22 @@ depends=('bzip2' 'bash')
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
replaces=("${_pkgname}")
-source=('http://downloads.sourceforge.net/infozip/unzip60.tar.gz'
- 'match.patch')
-md5sums=('62b490407489521db863b523a7f86375'
- 'e6d9f0c204c2abe6a57dc5e1637d5140')
-
-build() {
+mksource=('http://downloads.sourceforge.net/infozip/unzip60.tar.gz'
+ 'match.patch')
+source=('https://repo.parabolagnulinux.org/sources/unzip60-libre.tar.gz')
+mkmd5sums=('62b490407489521db863b523a7f86375'
+ 'e6d9f0c204c2abe6a57dc5e1637d5140')
+md5sums=('bbe4b7f4d48b2f939b5e43fde0ac7762')
+
+mksource() {
cd ${srcdir}/${_pkgname}${pkgver/./}
# from http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/DATA/unzip/match.patch
patch -Np0 -i ${srcdir}/match.patch
+}
+
+build() {
+ cd ${srcdir}/${_pkgname}${pkgver/./}
# set CFLAGS -- from Debian
export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS \