db-move: moved xdg-desktop-portal-gnome from [testing] to [extra] (x86_64)
[arch-packages.git] / valadoc / trunk / PKGBUILD
blob1deb564c830c94ec0ee9022fc5457a45c1977b8d
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
3 pkgname=valadoc
4 pkgver=0.36.2
5 pkgrel=1
6 epoch=1
7 pkgdesc="A documentation tool for vala"
8 arch=(x86_64)
9 url="https://git.gnome.org/browse/valadoc"
10 license=(GPL2)
11 depends=(vala gtk-doc graphviz libgee ttf-dejavu)
12 makedepends=(git)
13 _commit=b2172f45ee815d4575fd3c6f75cafe035cc26224  # tags/0.36.2^0
14 source=("git+https://git.gnome.org/browse/valadoc#commit=$_commit")
15 sha256sums=('SKIP')
17 pkgver() {
18   cd $pkgname
19   git describe --tags | sed 's/-/+/g'
22 prepare() {
23   cd $pkgname
24   NOCONFIGURE=1 ./autogen.sh
27 build() {
28   cd $pkgname
29   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
30   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
31   make
34 package() {
35   cd $pkgname
36   make DESTDIR="$pkgdir" install