diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/unshield | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/unshield')
-rw-r--r-- | community/unshield/PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/community/unshield/PKGBUILD b/community/unshield/PKGBUILD index e8530f935..e1f794569 100644 --- a/community/unshield/PKGBUILD +++ b/community/unshield/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 100010 2013-10-31 02:59:06Z allan $ +# $Id: PKGBUILD 101042 2013-11-15 12:43:16Z spupykin $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> pkgname=unshield pkgver=0.6 -pkgrel=3 +pkgrel=4 pkgdesc="Extracts CAB files from InstallShield installers" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/synce/files/" @@ -14,12 +14,21 @@ source=(http://downloads.sourceforge.net/sourceforge/synce/${pkgname}-${pkgver}. md5sums=('31a829192a255160d1f71cda4c865c9c' 'aa731ca6fd7c7dfb03f8b07e232b37d3') +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + sed -i 's|CFLAGS="-ansi -Wall -Werror"|CFLAGS="-ansi -Wall"|g' configure +} + 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 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/unshield/LICENSE } |