aboutsummaryrefslogtreecommitdiffstats
path: root/main/acf-db/APKBUILD
blob: 9bd95adb9aa1eb48a66fcafc8fd2da72173fe496 (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
31
32
33
34
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-db
pkgver=0.2.1
pkgrel=1
pkgdesc="A web-based system administration interface for databases"
url="http://git.alpinelinux.org/cgit/acf-db"
arch="noarch"
license="GPL2"
depends="acf-core 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="e1ccfaf550cde509eea166a445c8e0ca  acf-db-0.2.1.tar.xz"
sha256sums="f010ff6c77536324bc3abaed833900aebb83e7c9754a3b0722e852223beb06d7  acf-db-0.2.1.tar.xz"
sha512sums="850a3c5a2b294bd6e0b718357f93a3aaa7668a852b4854f636541c3e40cddce3dc1805a291c5900808cd95fa7ccd718db481431069a98df2a775d0fab1b6f3c4  acf-db-0.2.1.tar.xz"