aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxde-common/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lxde-common/APKBUILD')
-rw-r--r--testing/lxde-common/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/lxde-common/APKBUILD b/testing/lxde-common/APKBUILD
new file mode 100644
index 000000000..b18dbf86c
--- /dev/null
+++ b/testing/lxde-common/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+
+pkgname=lxde-common
+pkgver=0.5.5
+pkgrel=0
+pkgdesc='Common files of the LXDE Desktop'
+arch='noarch'
+url='http://lxde.org/'
+license='GPL2'
+depends='lxsession'
+source="http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz
+ startlxde.patch"
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -Np0 -i $srcdir/startlxde.patch || return 1
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --sysconfdir=/etc --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 lxde-logout.desktop \
+ "$pkgdir"/usr/share/applications/lxde-logout.desktop || return 1
+}
+md5sums="e51a6b2a815a89fda1f497b509465a97 lxde-common-0.5.5.tar.gz
+11aca3bcc2ea8fa2c03e72056a52d1fc startlxde.patch"
+sha256sums="ee18a09b64a442b33c1b54f0269649a1b4d9490460c400a07ed785d41bf6dde6 lxde-common-0.5.5.tar.gz
+0b4192c52142369677d02474133a1da733a250a0e2ed9a4b55275428b90e38aa startlxde.patch"
+sha512sums="44848286ccf3aa269df1680e14a8d3c41be1c2af956bd5121fc05d97a892fdc13d1e74191a2a11a40e96a8f31f8be37b1cfb9afeac4474fcab88d07508647c7f lxde-common-0.5.5.tar.gz
+dd25e91d9b350784b3434390c68ffaa763a966e0977c0a8ee57fe920c5793f2ecc42446ca332f294cc2e840f951099ab348f052f54ae9aac22d8e77d19f30919 startlxde.patch"