summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd5b4b60ba50b3758f478d4e9e689be119d0dee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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.4.0.r0.33fc75b
pkgrel=1
epoch=1
arch=('x86_64')
url="https://github.com/clementgallet/libTAS"
license=('GPL3')
depends=('lib32-alsa-lib' '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-i386-lib
  make
}

package() {
  cd "libTAS"

  make DESTDIR="$pkgdir/" install
}