2019-09-23 18:30:13 +00:00
|
|
|
# Maintainer: Alad Wenter <alad@mailbox.org>
|
2019-10-06 15:43:20 +00:00
|
|
|
# Contributor: carstene1ns <arch carsten-teibes de>
|
2019-09-23 18:30:13 +00:00
|
|
|
# Contributor: Sam S. <smls75@gmail.com>
|
|
|
|
# Contributor: Daniel Scharrer <daniel@constexpr.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - -DUSE_LTO=OFF
|
|
|
|
|
|
|
|
pkgname=innoextract
|
2020-10-18 19:27:49 +00:00
|
|
|
pkgver=1.9
|
2024-09-02 19:26:15 +00:00
|
|
|
pkgrel=11
|
2019-09-23 18:30:13 +00:00
|
|
|
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"
|
2024-09-02 19:26:15 +00:00
|
|
|
"https://constexpr.org/innoextract/files/$pkgname-$pkgver.tar.gz.sig"
|
|
|
|
https://github.com/dscharrer/innoextract/commit/264c2fe6.patch)
|
2020-10-18 19:27:49 +00:00
|
|
|
sha256sums=('6344a69fc1ed847d4ed3e272e0da5998948c6b828cb7af39c6321aba6cf88126'
|
2024-09-02 19:26:15 +00:00
|
|
|
'SKIP'
|
|
|
|
'891436a9d3278ddc3342fef24004b28b8fb6c49cd3534843bea1cb4f0f8508ed')
|
2019-09-23 18:30:13 +00:00
|
|
|
validpgpkeys=("ADE9653703D4ADE0E997758128555A66D7E1DEC9") # Daniel Scharrer <daniel@constexpr.org>
|
|
|
|
|
2024-09-02 19:26:15 +00:00
|
|
|
prepare() {
|
|
|
|
# Fix build with boost 1.85
|
|
|
|
patch -d $pkgname-$pkgver -p1 < 264c2fe6.patch
|
|
|
|
}
|
|
|
|
|
2019-09-23 18:30:13 +00:00
|
|
|
build() {
|
|
|
|
cd "$pkgname-$pkgver"
|
2019-10-06 15:43:20 +00:00
|
|
|
|
|
|
|
# https://github.com/dscharrer/innoextract/issues/88
|
2019-09-23 18:30:13 +00:00
|
|
|
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"
|
|
|
|
}
|