summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexander Nicholi2020-10-15 03:37:44 -0400
committerAlexander Nicholi2020-10-15 03:37:44 -0400
commit57671b4c08ad6f44d731b13a2ffc44f936ff21f9 (patch)
tree4986e316fe583d192d6a459cebaa13b66ad82196 /PKGBUILD
downloadaur-57671b4c08ad6f44d731b13a2ffc44f936ff21f9.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1e435c03aab
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Alexander Nicholi <me@nicholatian.com>
+pkgname=gbalzss
+pkgver=1.2.0
+pkgrel=1
+epoch=
+pkgdesc="Compresses data for the GBA LZSS algorithm."
+arch=('i686' 'x86_64')
+url="https://github.com/devkitPro/gba-tools"
+license=('GPL-2.0')
+depends=()
+makedepends=('git')
+provides=("$pkgname")
+conflicts=("$pkgname")
+source=('https://github.com/devkitPro/gba-tools/releases/download/v1.2.0/gba-tools-1.2.0.tar.bz2')
+sha1sums=('aad9a673b4578ad8617a5e8397266ee9028a0d42')
+
+build() {
+ cd "$srcdir/gba-tools-$pkgver"
+
+ ./configure
+ make -j$(($(nproc) * 2))
+}
+
+package() {
+ cd "$srcdir/gba-tools-$pkgver"
+
+ install -Dsm755 "$srcdir/gba-tools-$pkgver/$pkgname" "$pkgdir/usr/bin/$pkgname"
+}