diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-12 03:39:46 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-12 03:39:46 +0000 |
commit | 61e090957dbc6b062f3a1af7eeb0d58478c6657d (patch) | |
tree | 768f076ead75d57e34580da0d78ff9f5afe170fd /libre/unzip-libre | |
parent | b8322aaddc0dc6b249457dd19ab7fb246b92c997 (diff) |
Sun Jan 12 03:35:50 UTC 2014
Diffstat (limited to 'libre/unzip-libre')
-rw-r--r-- | libre/unzip-libre/PKGBUILD | 18 |
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 \ |