diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-21 19:33:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-21 19:33:28 +0000 |
commit | 5f8cdc71cbc3ae96315a8697ffb93c0f20d48e1f (patch) | |
tree | 10b952e452f4919ef97c7ed8c0cded66f47bdb4e /testing | |
parent | 4b9bfb98162913c5a2a746fb6a28f62d626a3363 (diff) | |
download | aports-5f8cdc71cbc3ae96315a8697ffb93c0f20d48e1f.tar.bz2 aports-5f8cdc71cbc3ae96315a8697ffb93c0f20d48e1f.tar.xz |
testing/lxsession: new aport
Lightweight X11 session manager
http://lxde.sourceforge.net/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lxsession/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/lxsession/APKBUILD b/testing/lxsession/APKBUILD new file mode 100644 index 0000000000..08c96c74fe --- /dev/null +++ b/testing/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" |