blob: bea7bf5ac23d50958ee2424c9e940e0999181254 (
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
|
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
_pkgname=ttl2c
pkgname=$_pkgname-git
pkgver=1.0.1.r5.b64e425
pkgrel=3
epoch=1
pkgdesc='Turtle to header conversion utility for LV2 Plugin developers'
arch=(i686 x86_64)
url='https://github.com/lvtk/ttl2c'
license=(GPL-3.0-or-later)
depends=(gcc-libs glibc)
makedepends=(boost git python2)
conflicts=($_pkgname)
provides=($_pkgname)
source=("$_pkgname::git+https://github.com/lvtk/ttl2c.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
local ver=$(grep ^VERSION wscript | cut -f 2 -d "'")
local rev=$(git rev-list --count HEAD)
local githash=$(git rev-parse --short HEAD)
echo ${ver}.r${rev}.${githash}
}
build() {
cd $_pkgname
python2 waf configure --prefix=/usr
python2 waf build
}
package() {
depends+=(libboost_system.so)
cd $_pkgname
python2 waf install --destdir="$pkgdir"
}
# vim:set ts=2 sw=2 et:
|