blob: a9ada936b32319306fae919ab9141ad094948fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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}/
}
|