summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Jackson2019-02-01 15:10:46 -0700
committerCraig Jackson2019-02-01 15:16:23 -0700
commit60adb8a87a2a46ed98f123f082c18f0c538d2eee (patch)
treeef4229ed0d90ca87c32a123b13cf2c54bb0765ae
downloadaur-60adb8a87a2a46ed98f123f082c18f0c538d2eee.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD36
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8842e78413b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = innoextract-git
+ pkgdesc = A tool to extract installers created by Inno Setup
+ pkgver = r703.c9dcf5f
+ pkgrel = 1
+ url = https://constexpr.org/innoextract/
+ arch = x86_64
+ license = ZLIB
+ makedepends = boost
+ makedepends = cmake
+ makedepends = git
+ depends = boost-libs
+ depends = xz
+ provides = innoextract
+ conflicts = innoextract
+ source = innoextract-git::git+https://github.com/dscharrer/innoextract.git
+ sha256sums = SKIP
+
+pkgname = innoextract-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a5b02fd6f46
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Craig Jackson <tapocol@protonmail.com>
+
+pkgname=innoextract-git
+pkgver=r703.c9dcf5f
+pkgrel=1
+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' 'git')
+provides=('innoextract')
+conflicts=('innoextract')
+source=("$pkgname::git+https://github.com/dscharrer/innoextract.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ 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"
+}