aboutsummaryrefslogtreecommitdiffstats
path: root/testing/homebank/APKBUILD
blob: 0e4838b0699d884bf1070a5403473b89e2e2934f (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.5
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="674a6385f427ba23039745b476d7474c9f41f0183d5a41d6fa340fe36cc9b0b3a4a3da30dfecc4c4c3b8bfc72aba751799a5750b71eaf28b13333475d31e92e0  homebank-5.1.5.tar.gz"