aboutsummaryrefslogtreecommitdiffstats
path: root/community/innoextract/APKBUILD
blob: b6240a1bf6d9624115ce6cae9e5021e641eea62a (plain) (blame)
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
27
28
29
# Contributor: Michael Koloberdin <koloberdin@gmail.com>
# Maintainer: Michael Koloberdin <koloberdin@gmail.com>
pkgname=innoextract
pkgver=1.9
pkgrel=2
pkgdesc="A tool to extract installers created by Inno Setup"
url="https://constexpr.org/innoextract/"
arch="all"
license="Zlib"
makedepends="cmake boost-dev xz-dev"
subpackages="$pkgname-doc"
source="http://constexpr.org/innoextract/files/innoextract-$pkgver.tar.gz"

build() {
	cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
		-DCMAKE_BUILD_TYPE=None \
		-DBoost_NO_BOOST_CMAKE=ON \
		.
	make
}

package() {
	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="2b18f7bb7f50744bcb1bdcd25e57e0760193b179c77b55e0f63c537e55afc98de3b0380da3cae470ce97660ed41a7ffbb48c8c25329c9ce9b3811d9aec74bcde  innoextract-1.9.tar.gz"