summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d932b367e6c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
+
+pkgname=lib32-libtas-git
+pkgdesc="Tool-assisted speedrunning utility for Linux-native binaries (32-bit support)"
+pkgver=1.3.4.r25.87f9f04
+pkgrel=1
+epoch=1
+arch=('x86_64')
+url="https://github.com/clementgallet/libTAS"
+license=('GPL3')
+depends=('lib32-alsa-lib' 'lib32-ffmpeg' 'lib32-fontconfig'
+ 'lib32-freetype2' 'libtas-git' 'lib32-zlib')
+makedepends=('git')
+conflicts=('lib32-libtas')
+source=("git+$url")
+sha512sums=(SKIP)
+
+pkgver() {
+ cd "libTAS"
+
+ printf %s "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//g')"
+}
+
+prepare() {
+ cd "libTAS"
+
+ autoreconf -i
+}
+
+build() {
+ cd "libTAS"
+
+ ./configure --prefix=/usr --enable-silent-rules --enable-i386
+ make
+}
+
+package() {
+ cd "libTAS"
+
+ make DESTDIR="$pkgdir/" install
+}