diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-05 18:32:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-05 18:32:19 +0000 |
commit | 9e2e51f9b19c85a371868ecd910aeb1fa7640ba2 (patch) | |
tree | dcd6434fb961f83aa135425b9d8c5ee9b8d22861 /main/lxsession/APKBUILD | |
parent | cb92b9f26b7ee42dd380216ceb6e1ac6597c2ce0 (diff) | |
download | aports-9e2e51f9b19c85a371868ecd910aeb1fa7640ba2.tar.bz2 aports-9e2e51f9b19c85a371868ecd910aeb1fa7640ba2.tar.xz |
main/lxsession: moved from testing
Diffstat (limited to 'main/lxsession/APKBUILD')
-rw-r--r-- | main/lxsession/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
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 <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +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" |