diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-17 07:48:24 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-17 07:48:24 +0000 |
commit | 22d2488517f7bfb95fbbfe39631b28848397f6b0 (patch) | |
tree | 97b00805d609323db91afb6b3f3b63b8d1c46217 /community/innoextract/APKBUILD | |
parent | e8494589bfae15669015a8684465981ebac5b25a (diff) | |
download | aports-22d2488517f7bfb95fbbfe39631b28848397f6b0.tar.bz2 aports-22d2488517f7bfb95fbbfe39631b28848397f6b0.tar.xz |
community/innoextract: upgrade to 1.7 and modernize
Diffstat (limited to 'community/innoextract/APKBUILD')
-rw-r--r-- | community/innoextract/APKBUILD | 44 |
1 files changed, 13 insertions, 31 deletions
diff --git a/community/innoextract/APKBUILD b/community/innoextract/APKBUILD index feb719756e..25174ab853 100644 --- a/community/innoextract/APKBUILD +++ b/community/innoextract/APKBUILD @@ -1,48 +1,30 @@ # Contributor: Michael Koloberdin <koloberdin@gmail.com> # Maintainer: Michael Koloberdin <koloberdin@gmail.com> pkgname=innoextract -pkgver=1.6 -pkgrel=3 +pkgver=1.7 +pkgrel=0 pkgdesc="A tool to extract installers created by Inno Setup" url="http://constexpr.org/innoextract/" arch="all" license="zlib" -depends="" -depends_dev="cmake boost-dev xz-dev" -makedepends="$depends_dev" -install="" +makedepends="cmake boost-dev xz-dev" subpackages="$pkgname-doc" source="http://constexpr.org/innoextract/files/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release . || return 1 - make || return 1 + cd "$builddir" + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release . + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md \ - || return 1 - install -m644 CHANGELOG "$pkgdir"/usr/share/doc/$pkgname/CHANGELOG \ - || return 1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE \ - || return 1 + 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 } -md5sums="17611d58ed51b8511639e5965c1585c5 innoextract-1.6.tar.gz" -sha256sums="66463f145fffd4d5883c6b3e2f7b2c2837d6f07095810114e514233a88c1033e innoextract-1.6.tar.gz" -sha512sums="4c1b50a050d45e1a56d7236150a801cb85d15de8c80f5f1fd94750f3dd2392bdfb3f0e98c214e9504fe6132c7dce3a0dfbe0815ede438aa0f76a88380ceeef62 innoextract-1.6.tar.gz" +sha512sums="5e92625a411a4351dd4639d4b63e8664519c6697122a0679c010412e94a1e5da95324c33be16211f91c2b25b8cea40fe4ba4da5e19c12d0c27a4916159465ca4 innoextract-1.7.tar.gz" |