summaryrefslogtreecommitdiff
path: root/libre/unzip-libre/SRCBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/unzip-libre/SRCBUILD')
-rw-r--r--libre/unzip-libre/SRCBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/libre/unzip-libre/SRCBUILD b/libre/unzip-libre/SRCBUILD
new file mode 100644
index 000000000..a9ada936b
--- /dev/null
+++ b/libre/unzip-libre/SRCBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 70615 2010-02-27 15:46:11Z thayer $
+# Maintainer: Thayer Williams <thayer@archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
+# Contributor: Robson Peixoto
+
+_pkgname=unzip
+pkgname=unzip-libre
+pkgver=6.0
+pkgrel=5
+pkgdesc="Unpacks .zip archives such as those made by PKZIP"
+arch=('any')
+url="http://www.info-zip.org/"
+license=('custom')
+depends=('bzip2' 'bash')
+source=('http://downloads.sourceforge.net/infozip/unzip60.tar.gz'
+# from http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/DATA/unzip/match.patch
+ 'match.patch')
+md5sums=('62b490407489521db863b523a7f86375'
+ 'e6d9f0c204c2abe6a57dc5e1637d5140')
+
+build() {
+ cd ${srcdir}/${_pkgname}${pkgver/./}
+
+ patch -Np0 -i ${srcdir}/match.patch
+}
+
+package() {
+ export PKGEXT=.src.tar.xz
+ export PKGDEST=${SRCDEST}
+
+ mv ${srcdir}/${_pkgname}${pkgver/./} ${pkgdir}/
+
+}