summaryrefslogtreecommitdiffstats
path: root/x11/slim/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-16 19:44:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-16 19:44:30 +0000
commit95cb6b291e5e60abb8c8e68da3a11ecfd8895281 (patch)
treeada6e1a9434e8fb244dd362c2ee54f0128fe5894 /x11/slim/APKBUILD
parent5854d484bf40181ba262673fbe7b70fc29024928 (diff)
downloadaports-95cb6b291e5e60abb8c8e68da3a11ecfd8895281.tar.bz2
aports-95cb6b291e5e60abb8c8e68da3a11ecfd8895281.tar.xz
x11/slim: new aport
Desktop-independent graphical login manager for X11 http://slim.berlios.de/
Diffstat (limited to 'x11/slim/APKBUILD')
-rw-r--r--x11/slim/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/slim/APKBUILD b/x11/slim/APKBUILD
new file mode 100644
index 00000000..b6f193f4
--- /dev/null
+++ b/x11/slim/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=slim
+pkgver=1.3.1
+pkgrel=0
+pkgdesc="Desktop-independent graphical login manager for X11"
+url="http://slim.berlios.de/"
+license="GPL-2"
+subpackages="$pkgname-doc"
+makedepends="libxmu-dev libpng-dev jpeg-dev libxft-dev"
+depends=""
+install=
+source="http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname.logrotate
+ $pkgname-restart.patch"
+
+build ()
+{
+ cd "$srcdir/slim-$pkgver"
+ patch -Np1 -i "$srcdir/slim-restart.patch" || return 1
+ make CXX="${CXX:-g++}" CC="${CC:-gcc}" || return 1
+ make DESTDIR="$pkgdir" MANDIR=/usr/share/man install || return 1
+
+ install -D -m644 "$srcdir/slim.logrotate" "$pkgdir/etc/logrotate.d/slim" || return 1
+ sed -i 's|#xserver_arguments.*|xserver_arguments -nolisten tcp vt07|' "$pkgdir/etc/slim.conf" || return 1
+ sed -i 's|/var/run/slim.lock|/var/lock/slim.lock|' "$pkgdir/etc/slim.conf" || return 1
+
+}
+md5sums="727d0acb24c0fbf0751134c37a9c895f slim-1.3.1.tar.gz
+43da096480bf72c3ccec8ad8400f34f0 slim.logrotate
+648d871fe7d2a97b7d7b928019e2feee slim-restart.patch"