summaryrefslogtreecommitdiff
path: root/libre/unzip-libre/SRCBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-27 17:15:25 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-27 17:15:25 -0300
commitb24bcd7ea54466fae5136027d6b5bd9fb3741012 (patch)
tree960c2a0a2078b7aebcf5df4f37c096bf2632f21b /libre/unzip-libre/SRCBUILD
parente17d5d9b8e7dec6686b6bae6d496c3fcde0c2303 (diff)
libre/unzip-libre-6.0-5
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}/
+
+}