summaryrefslogtreecommitdiff
path: root/community/unshield/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/unshield/PKGBUILD')
-rw-r--r--community/unshield/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/unshield/PKGBUILD b/community/unshield/PKGBUILD
new file mode 100644
index 000000000..b549269c0
--- /dev/null
+++ b/community/unshield/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 65351 2012-02-21 02:17:14Z spupykin $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=unshield
+pkgver=0.6
+pkgrel=3
+pkgdesc="Extracts CAB files from InstallShield installers"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/synce/files/"
+license=('custom')
+depends=('zlib')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/synce/${pkgname}-${pkgver}.tar.gz
+ libunshield.c.patch)
+md5sums=('31a829192a255160d1f71cda4c865c9c'
+ 'aa731ca6fd7c7dfb03f8b07e232b37d3')
+
+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"
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=${pkgdir} install
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/unshield/LICENSE
+}
+