summaryrefslogtreecommitdiff
path: root/user/tinycdb/APKBUILD
blob: 434e4273ea15bd6c1977c196aeb0c9ee7cde12cf (plain) (blame)
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
# Contributor: Alyx Wolcott <alyx@leuhta.com>
# Maintainer: Alyx Wolcott <alyx@leuhta.com>
pkgname=tinycdb
pkgver=0.78
pkgrel=0
pkgdesc="A constant database"
url="https://www.corpit.ru/mjt/tinycdb.html"
arch="all"
license="Public-Domain"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.corpit.ru/mjt/tinycdb/$pkgname-$pkgver.tar.gz
	Makefile.patch"

build() {
	make prefix=/usr sysconfdir=/etc mandir=/usr/share/man localstatedir=/var 
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="8930086b8e7fddcd4dbd3354c5f5ee05171df68fde1cc222b6c402430042b6e761efbad7e5fa8de18e1d36390f1526cc3e605c5086fe1c363ba1df6c03201553  tinycdb-0.78.tar.gz
199774ee259bd6ba91ec000485c959e9632f2766203c479ffb81144d4cec39b25a1df9e9b3b676217044e2d65275ef80fbc1fd97272bce7a91fe0c1232a5dc40  Makefile.patch"