aboutsummaryrefslogtreecommitdiffstats
path: root/main/acf-db/APKBUILD
blob: 311ab4a2cacfc26422aefb2ed3da56b284362e93 (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
34
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-db
pkgver=0.1.2
pkgrel=0
pkgdesc="A web-based system administration interface for databases"
url="http://git.alpinelinux.org/cgit/acf-db"
arch="noarch"
license="GPL-2"
depends="acf-core lua acf-db-lib"
makedepends=""
install=
subpackages="$pkgname-lib"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz"

package() {
	cd "$srcdir/$pkgname-$pkgver"

	make DESTDIR="$pkgdir" install

}

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

md5sums="d820c7cd898b4e784dba66d00a861fe2  acf-db-0.1.2.tar.xz"
sha256sums="7b9d6f90db6da0d1ca170b27b3c298936f404362fb30872bd1ca62577f1dabd4  acf-db-0.1.2.tar.xz"
sha512sums="ea529947c614caae6df72f194dfd6f16cb9b955493ba4d4bc0cd47e4fddbdc9102d3c2e87ba838efd1e4c17019c1989ff33d6e8dc090125b2424df75c4386308  acf-db-0.1.2.tar.xz"