aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-baselayout/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-16 09:06:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-16 10:21:06 +0000
commit03bf0af45bcde46319e4c81abf1eee440a573ace (patch)
treebe7626b800ad9470c7394412c84007d4e7bcaa6a /main/alpine-baselayout/APKBUILD
parent66ef745e031af5613e81dda39de1ffae141492a2 (diff)
downloadaports-03bf0af45bcde46319e4c81abf1eee440a573ace.tar.bz2
aports-03bf0af45bcde46319e4c81abf1eee440a573ace.tar.xz
main/alpine-baselayout: upgrade to 2.1.0 and fix modprobe.d
Newer versions of module-init-tools requires files in modprobe.d to have .conf extension. In order for upgraders to keep their module configs we need to rename our files in /etc/modprobe.d. We do so in a pre-upgrade script.
Diffstat (limited to 'main/alpine-baselayout/APKBUILD')
-rw-r--r--main/alpine-baselayout/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD
index 67b8a9adfe..3253846978 100644
--- a/main/alpine-baselayout/APKBUILD
+++ b/main/alpine-baselayout/APKBUILD
@@ -1,30 +1,29 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-baselayout
-pkgver=2.0_rc1
-pkgrel=3
+pkgver=2.1.0
+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
- 0001-profile-set-system-environment-charset-to-UTF-8.patch
"
arch="all"
license=GPL-2
+_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
- patch -p1 < "$srcdir"/0001-profile-set-system-environment-charset-to-UTF-8.patch
+ cd "$_builddir"
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
rm -f src/mkmntdirs
make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make install PREFIX= DESTDIR="$pkgdir" || return 1
}
-md5sums="76d61057c9e21d8e3ef85933a20b814d alpine-baselayout-2.0_rc1.tar.bz2
-b4eb3fdb4ca0aa136c87ca0c32e25742 0001-profile-set-system-environment-charset-to-UTF-8.patch"
+md5sums="94fb785dbfbee6daebf2ada54573403b alpine-baselayout-2.1.0.tar.bz2"