archrelease: copy trunk to community-any
[ArchLinux/community.git] / unshield / trunk / PKGBUILD
blob08bed1e8c6c0e2d6f66ade8bfb11ad864d4f4fea
1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
3 pkgname=unshield
4 pkgver=1.5.1
5 pkgrel=2
6 pkgdesc="Extracts CAB files from InstallShield installers"
7 arch=('x86_64')
8 url="https://github.com/twogood/unshield"
9 license=('custom')
10 depends=('zlib' 'openssl')
11 makedepends=('cmake')
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/twogood/unshield/archive/$pkgver.tar.gz")
13 sha256sums=('34cd97ff1e6f764436d71676e3d6842dc7bd8e2dd5014068da5c560fe4661f60')
15 build() {
16   cd "$srcdir"/${pkgname}-${pkgver}
17   cmake \
18     -DCMAKE_INSTALL_PREFIX=/usr \
19     -DCMAKE_INSTALL_LIBDIR=lib \
20     .
21   make
24 package() {
25   cd "$srcdir"/${pkgname}-${pkgver}
26   make DESTDIR="$pkgdir" install
27   install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/unshield/LICENSE