From 01849a148f7c2485d7eaf6d5da7077f336e36446 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 10 Jan 2015 10:14:50 -0200 Subject: unzip-6.0-8.parabola1: fix FS#43300 -> https://bugs.archlinux.org/task/43300 --- libre/unzip/PKGBUILD | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) (limited to 'libre/unzip/PKGBUILD') diff --git a/libre/unzip/PKGBUILD b/libre/unzip/PKGBUILD index e65d23aaf..adbf9b116 100644 --- a/libre/unzip/PKGBUILD +++ b/libre/unzip/PKGBUILD @@ -1,5 +1,5 @@ -# $Id: PKGBUILD 215748 2014-06-30 11:29:59Z bisson $ -# Maintainer (Arch): +# $Id: PKGBUILD 228865 2015-01-09 19:38:36Z bisson $ +# Maintainer (Arch): Gaetan Bisson # Contributor (Arch): Douglas Soares de Andrade # Contributor (Arch): Robson Peixoto @@ -7,7 +7,7 @@ _pkgname=unzip-libre pkgname=unzip pkgver=6.0 _pkgver=${pkgver/./} -pkgrel=7.parabola1 +pkgrel=8.parabola1 pkgdesc='For extracting and viewing files in .zip archives' url='http://www.info-zip.org/UnZip.html' arch=('i686' 'x86_64' 'mips64el') @@ -17,10 +17,14 @@ conflicts=("${_pkgname}") replaces=("${_pkgname}") mksource=("http://downloads.sourceforge.net/infozip/${pkgname}${_pkgver}.tar.gz" 'match.patch') -source=("https://repo.parabola.nu/other/${_pkgname}/${pkgname}${_pkgver}-libre.tar.gz") -mkmd5sums=('62b490407489521db863b523a7f86375' - 'e6d9f0c204c2abe6a57dc5e1637d5140') -md5sums=('bbe4b7f4d48b2f939b5e43fde0ac7762') +source=("https://repo.parabola.nu/other/${_pkgname}/${pkgname}${_pkgver}-libre.tar.gz" + 'getZip64Data.patch' + 'crc32.patch') +mksha1sums=('abf7de8a4018a983590ed6f5cbd990d4740f8a22' + '63bb2bb8483088d5975ce17443dd31b0362c08c9') +sha1sums=('80808a3b520f8b73ee3a4dc4b5c29411cba43aa2' + '691d0751bf0bc98cf9f9889dee39baccabefdc4d' + '82c9fe9172779a0ee92a187d544e74e8f512b013') mksource() { cd "${srcdir}/${pkgname}${_pkgver}" @@ -29,6 +33,13 @@ mksource() { patch -Np0 -i ${srcdir}/match.patch } +prepare() { + cd "${srcdir}/${pkgname}${_pkgver}" + sed -i "/MANDIR =/s#)/#)/share/#" unix/Makefile + patch -i ../getZip64Data.patch # FS#43300 + patch -i ../crc32.patch # FS#43300 +} + build() { cd "${srcdir}/${pkgname}${_pkgver}" @@ -43,7 +54,7 @@ build() { unzips } -package(){ +package() { cd "${srcdir}/${pkgname}${_pkgver}" make -f unix/Makefile prefix="${pkgdir}"/usr install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -- cgit v1.2.3