diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-05 14:10:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-05 14:10:06 +0000 |
commit | 15cd2d0438316c4fb1d39f1b1fb8aff34d5e5f73 (patch) | |
tree | 029b921551ca0c2704900633b561922a00e7b3f1 /x11/xinit/APKBUILD | |
parent | 06cceba8ce6809dcd072797f8faf090ea1b2a6b4 (diff) | |
download | aports-15cd2d0438316c4fb1d39f1b1fb8aff34d5e5f73.tar.bz2 aports-15cd2d0438316c4fb1d39f1b1fb8aff34d5e5f73.tar.xz |
x11/xinit: alpinize xinitrc script
start xfce by default
Diffstat (limited to 'x11/xinit/APKBUILD')
-rw-r--r-- | x11/xinit/APKBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/x11/xinit/APKBUILD b/x11/xinit/APKBUILD index 20b65c1b71..e75f788404 100644 --- a/x11/xinit/APKBUILD +++ b/x11/xinit/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xinit pkgver=1.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="X.Org initialisation program " url="http://xorg.freedesktop.org/" license="GPL" @@ -13,20 +13,22 @@ source="http://xorg.freedesktop.org/releases/individual/app/xinit-$pkgver.tar.bz xsession xserverrc" -build () -{ +build() { cd "$srcdir"/xinit-$pkgver ./configure --prefix=/usr || return 1 make XINITDIR=/etc/X11/xinit || return 1 +} + +package() { + cd "$srcdir"/xinit-$pkgver make XINITDIR=/etc/X11/xinit DESTDIR="$pkgdir" install || return 1 chmod +x "$pkgdir"/usr/bin/startx install -m755 -d "$pkgdir"/etc/skel install -m755 -d "$pkgdir"/etc/X11/xinit - install -m755 "$srcdir"/xinitrc "$pkgdir"/etc/skel/.xinitrc || return 1 install -m755 "$srcdir"/xsession "$pkgdir"/etc/skel/.xsession || return 1 install -m755 "$srcdir"/xserverrc "$pkgdir"/etc/X11/xinit/xserverrc || return 1 } md5sums="93c73705ed9eb1e1a6b6938405672f2b xinit-1.1.1.tar.bz2 -cee2d70748a089fbc7db64a4a6e8fdb1 xinitrc -7873d97db30d6c279ed37e3559e7c59d xsession +af322d72972d5722b7fc0a9e8f025b15 xinitrc +4f04d2891ea87f50fde518267b7a1154 xsession bb550d3b9a2d2b6cbe6e2667a3a7cd03 xserverrc" |