blob: 4a10d3bcfdaf1a816bb7d999db86ca89e45b0150 (
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
|
pkgname=alpine-baselayout
pkgver=2009.01.08
pkgrel=0
pkgdesc="Alpine base dir structure and init scripts"
url=http://dev.alpinelinux.org/alpine/alpine-baselayout
depends="uclibc"
#source="http://dev.alpinelinux.org/alpine/$pkgname/$pkgname-$pkgver.tar.gz"
license=GPL-2
_gitname=$pkgname
_gitroot=git://dev.alpinelinux.org/$_gitname
build() {
cd "$srcdir"
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 clean
make
make install PREFIX= DESTDIR="$pkgdir" || return 1
}
|