# Contributor: Michael Koloberdin # Maintainer: Michael Koloberdin pkgname=innoextract pkgver=1.7 pkgrel=2 pkgdesc="A tool to extract installers created by Inno Setup" url="http://constexpr.org/innoextract/" arch="all" license="zlib" makedepends="cmake boost-dev xz-dev" subpackages="$pkgname-doc" source="http://constexpr.org/innoextract/files/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release . make } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md install -m644 CHANGELOG "$pkgdir"/usr/share/doc/$pkgname/CHANGELOG install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums="5e92625a411a4351dd4639d4b63e8664519c6697122a0679c010412e94a1e5da95324c33be16211f91c2b25b8cea40fe4ba4da5e19c12d0c27a4916159465ca4 innoextract-1.7.tar.gz"