summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e990c24192ebb5ce50b14570d7d38e14455752bc (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: Allan McRae <allan@archlinux.org>

pkgname=baka
pkgver=0.0.0.15.986fba1
pkgrel=1
pkgdesc="GTK+3 GUI for the pacman package manager"
arch=('x86_64')
url="https://github.com/allanbrokeit/baka"
license=('GPL2')
depends=('pacman' 'gtk3')
source=("git+https://github.com/allanbrokeit/baka.git")
md5sums=("SKIP")

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

prepare() {
	cd baka
	autoreconf -i
}

build() {
	cd baka
	./configure
	make
}

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