blob: b839a5279a9225b2b8b452fe4366013aea6c0f36 (
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
|
# Maintainer: Luna Simons <luna@bddvlpr.com>
# Contributor: Greizgh <greizgh@ephax.org>
pkgname=ugtrain-git
pkgver=v0.4.r57.88e057a
pkgrel=1
pkgdesc="The Universal Elite Game Trainer for CLI"
arch=('i686' 'x86_64')
url="https://github.com/ugtrain/ugtrain"
license=('GPL3')
depends=('gcc-libs')
makedepends=('git')
provides=(ugtrain)
source=(git+https://github.com/ugtrain/ugtrain.git)
md5sums=('SKIP')
pkgver() {
cd "$srcdir/ugtrain"
git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/ugtrain"
./autogen.sh
}
build() {
cd "$srcdir/ugtrain"
./configure --prefix=/usr
make
}
check() {
cd "$srcdir/ugtrain"
make -k check
}
package() {
cd "$srcdir/ugtrain"
make DESTDIR="$pkgdir/" install
}
|