aboutsummaryrefslogtreecommitdiffstats
path: root/main/acf-db/APKBUILD
blob: bac4e4a65b79a50948a43f5404bd331be8c17713 (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.3
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="2f322857b0fb0c658e5ac4f7a6847463  acf-db-0.1.3.tar.xz"
sha256sums="7c917cbadcfcdeab200b9f5510cf33d5263ea98a29d67b7c130047ada6878fd8  acf-db-0.1.3.tar.xz"
sha512sums="eabb3b79ade2cbc5b033478234083989c162be075762efae629c1500084f5420052300893c2e96cd0b9cc6f7dd6a1dc47d5381d8026bb694e44e17db68185b82  acf-db-0.1.3.tar.xz"