blob: 828a74b12295527d3d59793cdd979c8d433cd70f (
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
|
# Maintainer: Sven Hesse <drmccoy@drmccoy.de>
pkgname=xoreos-tools
pkgver=0.0.6.r0.g87946ab
pkgrel=1
pkgdesc="Tools to help with xoreos development"
arch=('i686' 'x86_64')
url="https://xoreos.org/"
license=('GPL3')
depends=('zlib' 'xz' 'libxml2' 'boost' 'boost-libs')
makedepends=('git')
source=('git://github.com/xoreos/xoreos-tools.git#tag=v0.0.6')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --match desc/\* | cut -d '/' -f 2- | sed -e 's/\(.*\)-\([^-]*\)-\([^-]*\)/\1.r\2.\3/'
}
build() {
cd "$srcdir/$pkgname"
./autogen.sh
./configure --with-release=AUR --with-lto --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
}
|