summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD41
3 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6b2e68b6cac
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = 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
+ url = https://github.com/clementgallet/libTAS
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = lib32-alsa-lib
+ depends = lib32-ffmpeg
+ depends = lib32-fontconfig
+ depends = lib32-freetype2
+ depends = libtas-git
+ depends = lib32-zlib
+ conflicts = lib32-libtas
+ source = git+https://github.com/clementgallet/libTAS
+ sha512sums = SKIP
+
+pkgname = lib32-libtas-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..898075ef5ec
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.pkg.tar*
+*.src.tar*
+/libTAS/
+src
+pkg
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
+}