APKBUILD 1.04 KB
Newer Older
Ted Trask's avatar
Ted Trask committed
1 2 3
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-db
4
pkgver=0.2.1
5
pkgrel=2
Ted Trask's avatar
Ted Trask committed
6
pkgdesc="A web-based system administration interface for databases"
7
url="https://git.alpinelinux.org/cgit/acf/acf-db"
Ted Trask's avatar
Ted Trask committed
8
arch="noarch"
9
license="GPL-2.0"
10
depends="acf-core acf-db-lib"
Ted Trask's avatar
Ted Trask committed
11 12 13
makedepends=""
install=
subpackages="$pkgname-lib"
14
source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz"
Ted Trask's avatar
Ted Trask committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

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
}

32 33 34
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"