diff options
Diffstat (limited to 'main/cabextract/APKBUILD')
-rw-r--r-- | main/cabextract/APKBUILD | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/main/cabextract/APKBUILD b/main/cabextract/APKBUILD index dec89e4deb..9ecda0a338 100644 --- a/main/cabextract/APKBUILD +++ b/main/cabextract/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=cabextract -pkgver=1.4 -pkgrel=1 +pkgver=1.6 +pkgrel=0 pkgdesc="Tool for extracting Microsoft cabinet files" url="http://www.cabextract.org.uk/" arch="all" @@ -10,12 +10,20 @@ subpackages="$pkgname-doc" depends="" makedepends="" install="" -source="http://dev.alpinelinux.org/archive/cabextract/$pkgname-$pkgver.tar.gz" +source="http://www.cabextract.org.uk/$pkgname-$pkgver.tar.gz + " _builddir="$srcdir"/${pkgname}-${pkgver} prepare() { cd $_builddir - return 0 + for i in $source; do + case $i in + *.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac + done } build () { @@ -36,6 +44,6 @@ package() { make DESTDIR="$pkgdir" install } -md5sums="79f41f568cf1a3ac105e0687e8bfb7c0 cabextract-1.4.tar.gz" -sha256sums="f7ba8ba2c2d71912846eaaa2bed9200a7722ef0addeec32db7471c350a48e41e cabextract-1.4.tar.gz" -sha512sums="013c55efd8847bbc42432cde1bc4f6232f5b627ef8d7fadbf5793e47e3e06b5c1d428846cb38921d6c758fd508abfcc68aac3214762b9d4bfcb7277bd8bbbb94 cabextract-1.4.tar.gz" +md5sums="ee3ded0b1f84e5c6e3309bb36d701916 cabextract-1.6.tar.gz" +sha256sums="cee661b56555350d26943c5e127fc75dd290b7f75689d5ebc1f04957c4af55fb cabextract-1.6.tar.gz" +sha512sums="d1c71c0292e3d73d8edbff5f5230b3127c63028f5aba1d0cad968bc945202fb9c0773327affce3d28466068377f029c80735adbabe0929d29b2204dea73738f8 cabextract-1.6.tar.gz" |