Commit b570008a authored by Natanael Copa's avatar Natanael Copa

core/alpine-conf: fix bug. move to /usr

parent 693b4c4c
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.0_alpha1
pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
source=http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
......@@ -8,12 +9,12 @@ license="GPL-2"
build() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX= || return 1
make install PREFIX= DESTDIR="$pkgdir"
ln -s lbu "$pkgdir"/sbin/lbu_commit
ln -s lbu "$pkgdir"/sbin/lbu_exclude
ln -s lbu "$pkgdir"/sbin/lbu_include
ln -s lbu "$pkgdir"/sbin/lbu_status
ln -s lbu "$pkgdir"/sbin/lbu_update
make PREFIX=/usr || return 1
make install PREFIX=/usr DESTDIR="$pkgdir"
for i in commit exclude include status update; do
ln -s lbu "$pkgdir"/usr/sbin/lbu_$i
done
mkdir -p "$pkgdir"/usr/share
mv "$pkgdir"/usr/lib "$pkgdir"/usr/share/lbu
}
md5sums="63c92de465238c680c047196d6c62cf2 alpine-conf-2.0_alpha1.tar.bz2"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment