summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Swanson2018-11-04 20:16:35 -0800
committerMike Swanson2018-11-04 20:16:35 -0800
commit6c4a0affbe025a9971306876793a84fa7af90f68 (patch)
treeffe8f95287eb2e4df3ade50c921b502d1d8d452d
downloadaur-6c4a0affbe025a9971306876793a84fa7af90f68.tar.gz
git version of libtas
-rw-r--r--.SRCINFO27
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD38
-rw-r--r--linTAS.desktop6
4 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..354604b74f7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+# Generated by mksrcinfo v8
+# Mon Nov 5 04:16:17 UTC 2018
+pkgbase = libtas-git
+ pkgdesc = Tool-assisted speedrunning utility for Linux-native binaries
+ pkgver = 1.3.1.r54.9351ce3
+ pkgrel = 1
+ url = https://github.com/clementgallet/libTAS
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = extra-cmake-modules
+ depends = alsa-lib
+ depends = ffmpeg
+ depends = fontconfig
+ depends = freetype2
+ depends = libtar
+ depends = qt5-base
+ depends = xcb-util-cursor
+ depends = zlib
+ conflicts = libtas
+ source = git+https://github.com/clementgallet/libTAS
+ source = linTAS.desktop
+ sha512sums = SKIP
+ sha512sums = 7002415aaa670e7cbee27ef8031bb0f61a6f3182212b435270e47a3567ff45fe0d98db92a7798fa1d3573a07627d224a8ba645c5503b7f03663f9eef545aab40
+
+pkgname = 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..b0ad48a3b12
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
+
+pkgname=libtas-git
+pkgver=1.3.1.r54.9351ce3
+pkgrel=1
+pkgdesc="Tool-assisted speedrunning utility for Linux-native binaries"
+arch=('x86_64')
+url="https://github.com/clementgallet/libTAS"
+license=('GPL3')
+depends=('alsa-lib' 'ffmpeg' 'fontconfig' 'freetype2'
+ 'libtar' 'qt5-base' 'xcb-util-cursor' 'zlib')
+makedepends=('cmake' 'extra-cmake-modules')
+conflicts=('libtas')
+source=("git+$url"
+ linTAS.desktop)
+sha512sums=(SKIP
+ '7002415aaa670e7cbee27ef8031bb0f61a6f3182212b435270e47a3567ff45fe0d98db92a7798fa1d3573a07627d224a8ba645c5503b7f03663f9eef545aab40')
+
+pkgver() {
+ cd "libTAS"
+
+ printf %s "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//g')"
+}
+
+build() {
+ cd "libTAS"
+
+ mkdir build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "libTAS/build"
+
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 "$srcdir/linTAS.desktop" "$pkgdir/usr/share/applications/linTAS.desktop"
+}
diff --git a/linTAS.desktop b/linTAS.desktop
new file mode 100644
index 00000000000..915a4cd3208
--- /dev/null
+++ b/linTAS.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+Name=linTAS
+Comment=Tool-assisted speedrunning tool for native games
+Exec=linTAS
+Categories=Utility;