aboutsummaryrefslogtreecommitdiffstats
path: root/core/alpine-baselayout/APKBUILD
blob: 7c56632d10d211a583269ddde800cc7874609cf2 (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
pkgname=alpine-baselayout
pkgver=2.0_alpha3
pkgrel=0
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
}
md5sums="2ecfbc1e70c0fdffa70bc9c3339ce01b  alpine-baselayout-2.0_alpha3.tar.bz2"