aboutsummaryrefslogtreecommitdiffstats
path: root/main/acf-db/APKBUILD
blob: 8fb941eab71859aa5372eb38a0ced0dbbd2986a7 (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
27
28
29
30
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-db
pkgver=0.2.1
pkgrel=4
pkgdesc="Web-based system administration interface for databases"
url="https://gitlab.alpinelinux.org/acf/acf-db"
arch="noarch"
license="GPL-2.0-only"
options="!check" # no test suite
depends="acf-core acf-db-lib"
subpackages="$pkgname-lib"
source="https://gitlab.alpinelinux.org/acf/acf-db/-/archive/v$pkgver/acf-db-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

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

lib() {
	pkgdesc="ACF database support library"
	depends="acf-core lua acf-lib"
	mkdir -p "$subpkgdir"/usr/share/acf/lib/
	mv "$pkgdir"/usr/share/acf/lib/* \
		"$subpkgdir"/usr/share/acf/lib/
}

sha512sums="
71b1189dee362c8f5ccf8b374c83c8f3307c2d112bdb9a83823418a27a44dca59940d26fb3736e85dac7f1eafb6c66d318ed67013a9f9183e2c62d18c862d469  acf-db-v0.2.1.tar.gz
"