summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Nicholi2020-10-15 03:37:44 -0400
committerAlexander Nicholi2020-10-15 03:37:44 -0400
commit57671b4c08ad6f44d731b13a2ffc44f936ff21f9 (patch)
tree4986e316fe583d192d6a459cebaa13b66ad82196
downloadaur-gbalzss.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD28
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3cc2ee85956
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = gbalzss
+ pkgdesc = Compresses data for the GBA LZSS algorithm.
+ pkgver = 1.2.0
+ pkgrel = 1
+ url = https://github.com/devkitPro/gba-tools
+ arch = i686
+ arch = x86_64
+ license = GPL-2.0
+ makedepends = git
+ provides = gbalzss
+ conflicts = gbalzss
+ source = https://github.com/devkitPro/gba-tools/releases/download/v1.2.0/gba-tools-1.2.0.tar.bz2
+ sha1sums = aad9a673b4578ad8617a5e8397266ee9028a0d42
+
+pkgname = gbalzss
+
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"
+}