summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b82be767447faa5b20c4857df2e506881f10ed39 (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
# Maintainer: wins1ey <wins1ey at wins1ey dot win>
pkgname=libresplit-git
_pkgname=libresplit
pkgver=r412.28ef2afa6
pkgrel=1
pkgdesc="Free speedrun timer with auto splitting and load removal."
arch=('x86_64')
url='https://github.com/wins1ey/LibreSplit'
license=('GPL3')
depends=(
    'gtk3'
    'jansson'
    'luajit'
)
makedepends=(
    'git'
    'xxd'
)

source=("$_pkgname::git+https://github.com/wins1ey/LibreSplit.git")
sha256sums=('SKIP')

pkgver() {
    cd $_pkgname
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=9 HEAD)"
}

build() {
    cd $_pkgname
    make
}

package() {
    cd $_pkgname
    make DESTDIR="${pkgdir}" PREFIX="/usr" install
}