From 75c6aa76e5a459ec815e7ddb65b054b86002e0c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sat, 11 Jan 2014 04:53:52 -0200 Subject: unzip-libre: add mksource --- libre/unzip-libre/PKGBUILD | 18 ++++++++++++------ 1 file 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 \ -- cgit v1.2.3-2-g168b