aboutsummaryrefslogtreecommitdiffstats
path: root/testing/homebank/APKBUILD
blob: b69eaa370b6376859db5462eea07134774807b23 (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
# Contributor: 7heo <7heo@mail.com>
# Maintainer: 7heo <7heo@mail.com>
pkgname=homebank
pkgver=5.1.8
pkgrel=0
pkgdesc="Free personal finance software, money management"
url="http://homebank.free.fr/"
arch="all"
license="GPL"
makedepends="bash gtk+3.0-dev libsoup-dev libofx-dev"
install=""
subpackages="$pkgname-lang"
source="http://homebank.free.fr/public/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

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

check() {
	"$builddir"/src/homebank --version | grep -q "^$pkgname $pkgver$"
}

package() {
	cd "$builddir"
	chmod a+x install-sh
	make DESTDIR="$pkgdir" install
}

sha512sums="24c02b30878b920fdf8ee190fd8cfcdead1ecb971495880db8a49ca771f4cd140a2c1ff4eb09f3e6770be694480b84c5ff3b0d49568ce81c86e83b95797dbed4  homebank-5.1.8.tar.gz"