summaryrefslogtreecommitdiff
path: root/libre/unzip-libre
diff options
context:
space:
mode:
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 \