summaryrefslogtreecommitdiff
path: root/community/unshield/PKGBUILD
blob: e8530f9352510e9a30be3f7fe373b810a8f8630e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 100010 2013-10-31 02:59:06Z allan $
# 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')
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
}