summaryrefslogtreecommitdiff
path: root/libre/unzip/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-01-10 10:14:50 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-01-10 10:14:50 -0200
commit01849a148f7c2485d7eaf6d5da7077f336e36446 (patch)
tree11e7f4a019c3c37b97370139156d972b8cd6bdea /libre/unzip/PKGBUILD
parentaa379d0421f6577bd63d42a616687aa9097c9a23 (diff)
downloadabslibre-01849a148f7c2485d7eaf6d5da7077f336e36446.tar.gz
abslibre-01849a148f7c2485d7eaf6d5da7077f336e36446.tar.bz2
abslibre-01849a148f7c2485d7eaf6d5da7077f336e36446.zip
unzip-6.0-8.parabola1: fix FS#43300 -> https://bugs.archlinux.org/task/43300
Diffstat (limited to 'libre/unzip/PKGBUILD')
-rw-r--r--libre/unzip/PKGBUILD27
1 files changed, 19 insertions, 8 deletions
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 <bisson@archlinux.org>
# Contributor (Arch): Douglas Soares de Andrade <douglas@archlinux.org>
# 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"