aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-baselayout/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/alpine-baselayout/APKBUILD')
-rw-r--r--main/alpine-baselayout/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD
new file mode 100644
index 0000000000..25a435f3f7
--- /dev/null
+++ b/main/alpine-baselayout/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=alpine-baselayout
+pkgver=2.1.1
+pkgrel=0
+pkgdesc="Alpine base dir structure and init scripts"
+url=http://git.alpinelinux.org/cgit/alpine-baselayout
+depends=
+install="$pkgname.pre-upgrade"
+source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2
+ "
+arch="all"
+license=GPL-2
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ rm -f src/mkmntdirs
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make install PREFIX= DESTDIR="$pkgdir" || return 1
+ rm -f "$pkgdir"/etc/issue
+}
+md5sums="4f47c32a0e88ae0bd4673a07478525c0 alpine-baselayout-2.1.1.tar.bz2"