summaryrefslogtreecommitdiffstats
path: root/core/alpine-baselayout/APKBUILD
blob: 81b696623766624ed684406dc8cddc4b832d673e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-baselayout
pkgver=2.0_alpha3
pkgrel=1
pkgdesc="Alpine base dir structure and init scripts"
url=http://git.alpinelinux.org/cgit/alpine-baselayout
depends="uclibc"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
license=GPL-2

_gitname=$pkgname
_gitroot=git://dev.alpinelinux.org/$_gitname

build() {
	cd "$srcdir"/$pkgname-$pkgver
#	msg "Connecting to GIT server..."
#	if [ -d $_gitname ]; then
#		cd $_gitname && git pull
#	else
#		git clone $_gitroot
#	fi

#	cd $srcdir/$_gitname
#	git checkout -b $pkgver @{`echo $pkgver | tr . -`} || return 1

	make
	make install PREFIX= DESTDIR="$pkgdir" || return 1
	install -d -m1777 "$pkgdir"/tmp

}
md5sums="2ecfbc1e70c0fdffa70bc9c3339ce01b  alpine-baselayout-2.0_alpha3.tar.bz2"