summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2ac1fc53fbf72e18b8019a2dd2c5a8bbf3c88e7b (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
42
43
44
45
46
# Maintainer: Armin Luntzer <armin.luntzer@univie.ac.at>
pkgname=gtknodes-git
_pkgname=gtknodes
pkgver=0.1
pkgrel=9
epoch=
pkgdesc="A GTK-based library to create functional flow graphs with the ability to pass arbitrary data between connected elements."
arch=('x86_64')
url="https://github.com/aluntzer/$_pkgname"
license=('LGPL')
depends=('gtk3')
makedepends=('git' 'gobject-introspection' 'gtk-doc' 'vala' 'glade' 'autoconf' 'automake' 'libtool')
source=("git+https://github.com/aluntzer/$_pkgname.git")
md5sums=('SKIP')

pkgver() {
	cd "$_pkgname"

	git describe | sed 's/^v//;s/-/./g'
}

prepare() {
	cd "$_pkgname"

	./autogen.sh
	./configure --prefix=/usr
}

build() {
	cd "$_pkgname"

	make
}

check() {
	cd "$_pkgname"

	make check
}

package() {
	cd "$_pkgname"

	make install PREFIX=/usr DESTDIR="$pkgdir"
}