summaryrefslogtreecommitdiff
path: root/community/unshield/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-18 03:30:21 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-18 03:30:21 +0000
commitbb37a4ecb6bee92615f1312d9907129490105052 (patch)
tree2cf401f22a5a0bdc6f5acf0e98101ac83e5b32f4 /community/unshield/PKGBUILD
parentd8fdc79f0eff1e0a0c630ec38a5792640c0f8311 (diff)
Tue Mar 18 03:26:07 UTC 2014
Diffstat (limited to 'community/unshield/PKGBUILD')
-rw-r--r--community/unshield/PKGBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/community/unshield/PKGBUILD b/community/unshield/PKGBUILD
index e1f794569..5824cb505 100644
--- a/community/unshield/PKGBUILD
+++ b/community/unshield/PKGBUILD
@@ -1,28 +1,25 @@
-# $Id: PKGBUILD 101042 2013-11-15 12:43:16Z spupykin $
+# $Id: PKGBUILD 107442 2014-03-17 11:03:03Z spupykin $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=unshield
-pkgver=0.6
-pkgrel=4
+pkgver=1.0
+pkgrel=1
pkgdesc="Extracts CAB files from InstallShield installers"
arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/synce/files/"
+url="https://github.com/twogood/unshield"
license=('custom')
depends=('zlib')
-source=(http://downloads.sourceforge.net/sourceforge/synce/${pkgname}-${pkgver}.tar.gz
- libunshield.c.patch)
-md5sums=('31a829192a255160d1f71cda4c865c9c'
- 'aa731ca6fd7c7dfb03f8b07e232b37d3')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/twogood/unshield/archive/$pkgver.tar.gz")
+md5sums=('b2abb96a73422590d17ce4415c6df07d')
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
- sed -i 's|CFLAGS="-ansi -Wall -Werror"|CFLAGS="-ansi -Wall"|g' configure
+ sed -i 's|-Werror||g' configure.ac.in
}
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- # See http://www.mail-archive.com/synce-devel@lists.sourceforge.net/msg01796.html
- patch -Np0 -i "${srcdir}/libunshield.c.patch"
+ ./bootstrap
./configure --prefix=/usr
make
}