summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 89459c65bab7ee6636391256fac834f04cfc6b49 (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
# Maintainer: grufo <madmurphy333 AT gmail DOT com>

_framework='anastasis'
_appname="${_framework}-gtk"
pkgname="${_appname}-git"
pkgver='r99.7fedfde'
pkgrel=1
pkgdesc='Graphical user interface for GNU Anastasis'
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/${_framework}"
license=('GPL')
depends=('anastasis' 'jansson' 'gnunet' 'gnunet-gtk' 'gtk3' 'libgcrypt'
         'libmicrohttpd' 'postgresql' 'taler-exchange' 'taler-merchant')
conflicts=("${_appname}" "${_appname}-bin")
provides=("${_appname}")
source=("git+https://git.taler.net/${_appname}.git")
sha256sums=('SKIP')

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

prepare() {
	cd "${srcdir}/${_appname}"
	./bootstrap
}

build() {
	cd "${srcdir}/${_appname}"
	./configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/${_appname}"
	make DESTDIR="${pkgdir}" install
}