Date: Monday, March 17, 2014 @ 12:02:51 Author: spupykin Revision: 107441
upgpkg: unshield 1.0-1 upd Modified: unshield/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-03-17 11:00:55 UTC (rev 107440) +++ PKGBUILD 2014-03-17 11:02:51 UTC (rev 107441) @@ -2,27 +2,24 @@ # Maintainer: Giovanni Scafora <[email protected]> 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/[email protected]/msg01796.html - patch -Np0 -i "${srcdir}/libunshield.c.patch" + ./bootstrap ./configure --prefix=/usr make }
