From 9e2e51f9b19c85a371868ecd910aeb1fa7640ba2 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 5 Oct 2011 18:32:19 +0000 Subject: main/lxsession: moved from testing --- main/lxsession/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 main/lxsession/APKBUILD (limited to 'main/lxsession') diff --git a/main/lxsession/APKBUILD b/main/lxsession/APKBUILD new file mode 100644 index 000000000..08c96c74f --- /dev/null +++ b/main/lxsession/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=lxsession +pkgver=0.4.5 +pkgrel=0 +pkgdesc="Lightweight X11 session manager" +url="http://lxde.sourceforge.net/" +arch="all" +license="GPLv2+" +depends="" +makedepends="gtk+-dev dbus-glib-dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/sourceforge/lxde/lxsession-$pkgver.tar.gz" + +_builddir="$srcdir"/lxsession-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="d5cd0cb733748191b2c7371c9efda155 lxsession-0.4.5.tar.gz" -- cgit v1.2.3