summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Swanson2019-06-05 18:12:50 -0700
committerMike Swanson2019-06-05 18:12:50 -0700
commit849aa5488fde180dc11976b3f47d2a5f4b8cbfbd (patch)
tree76c4cda97f1a5f9759f3f4af4858a9fcd9cd5f0e
parent8e487575c4b43611107ba5407ad097e14a1d6eac (diff)
downloadaur-849aa5488fde180dc11976b3f47d2a5f4b8cbfbd.tar.gz
Update to the new autotools-based system, add lib32-libtas as optdepends
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD18
2 files changed, 14 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ba18256177f..e805b345141 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,11 @@
pkgbase = libtas-git
pkgdesc = Tool-assisted speedrunning utility for Linux-native binaries
- pkgver = 1.3.4.r0.54098e9
+ pkgver = 1.3.4.r25.87f9f04
pkgrel = 1
epoch = 1
url = https://github.com/clementgallet/libTAS
arch = x86_64
license = GPL3
- makedepends = cmake
- makedepends = extra-cmake-modules
makedepends = git
depends = alsa-lib
depends = ffmpeg
@@ -16,6 +14,7 @@ pkgbase = libtas-git
depends = qt5-base
depends = xcb-util-cursor
depends = zlib
+ optdepends = lib32-libtas-git: for 32-bit games support
conflicts = libtas
source = git+https://github.com/clementgallet/libTAS
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index f6b1cedd61e..4d6bf4865fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=libtas-git
-pkgver=1.3.4.r0.54098e9
-pkgrel=1
pkgdesc="Tool-assisted speedrunning utility for Linux-native binaries"
+pkgver=1.3.4.r25.87f9f04
+pkgrel=1
epoch=1
arch=('x86_64')
url="https://github.com/clementgallet/libTAS"
license=('GPL3')
depends=('alsa-lib' 'ffmpeg' 'fontconfig' 'freetype2'
'qt5-base' 'xcb-util-cursor' 'zlib')
-makedepends=('cmake' 'extra-cmake-modules' 'git')
+makedepends=('git')
+optdepends=('lib32-libtas-git: for 32-bit games support')
conflicts=('libtas')
source=("git+$url")
sha512sums=(SKIP)
@@ -21,16 +22,21 @@ pkgver() {
printf %s "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//g')"
}
+prepare() {
+ cd "libTAS"
+
+ autoreconf -i
+}
+
build() {
cd "libTAS"
- mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ ./configure --prefix=/usr --enable-silent-rules
make
}
package() {
- cd "libTAS/build"
+ cd "libTAS"
make DESTDIR="$pkgdir/" install
}