diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-10-22 17:14:18 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-10-22 17:14:18 +0200 |
commit | 2be56e8d2878b588866c12b08b13dfc714ce52fd (patch) | |
tree | 4e471aa95db09d5ab6d382ca9e1af2316686dec3 /testing/lxde-common | |
parent | cde440db980247064f6aad524e007ec513f13844 (diff) | |
download | aports-2be56e8d2878b588866c12b08b13dfc714ce52fd.tar.bz2 aports-2be56e8d2878b588866c12b08b13dfc714ce52fd.tar.xz |
testing/lxde-common: new aport
Diffstat (limited to 'testing/lxde-common')
-rw-r--r-- | testing/lxde-common/APKBUILD | 36 | ||||
-rw-r--r-- | testing/lxde-common/startlxde.patch | 11 |
2 files changed, 47 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" diff --git a/testing/lxde-common/startlxde.patch b/testing/lxde-common/startlxde.patch new file mode 100644 index 000000000..27315d4f0 --- /dev/null +++ b/testing/lxde-common/startlxde.patch @@ -0,0 +1,11 @@ +--- startlxde.in.orig 2011-08-03 21:59:05.000000000 +0200 ++++ startlxde.in 2012-07-02 19:40:19.982368074 +0200 +@@ -8,7 +8,7 @@ fi + PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm/LXDE" + if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then + mkdir -p "$PCMANFM_CONF_DIR" +- cp @prefix@/share/lxde/pcmanfm/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" ++ cp @sysconfdir@/xdg/pcmanfm/LXDE/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" + fi + + # Ensure the existance of openbox config file |