# Maintainer: Alad Wenter # Contributor: carstene1ns # Contributor: Sam S. # Contributor: Daniel Scharrer # ALARM: Kevin Mihelich # - -DUSE_LTO=OFF pkgname=innoextract pkgver=1.9 pkgrel=8 pkgdesc="A tool to extract installers created by Inno Setup" url='https://constexpr.org/innoextract/' arch=('x86_64') license=('ZLIB') depends=('boost-libs' 'xz') makedepends=('boost' 'cmake') source=("https://constexpr.org/innoextract/files/$pkgname-$pkgver.tar.gz" "https://constexpr.org/innoextract/files/$pkgname-$pkgver.tar.gz.sig") sha256sums=('6344a69fc1ed847d4ed3e272e0da5998948c6b828cb7af39c6321aba6cf88126' 'SKIP') validpgpkeys=("ADE9653703D4ADE0E997758128555A66D7E1DEC9") # Daniel Scharrer build() { cd "$pkgname-$pkgver" # https://github.com/dscharrer/innoextract/issues/88 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBoost_NO_BOOST_CMAKE=ON -DUSE_LTO=OFF make } package() { cd "$pkgname-$pkgver" 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" }