Date: Tuesday, October 7, 2014 @ 23:17:53 Author: bgyorgy Revision: 120376
archrelease: copy trunk to community-testing-any Added: lxde-common/repos/community-testing-any/ lxde-common/repos/community-testing-any/PKGBUILD (from rev 120375, lxde-common/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: lxde-common/repos/community-testing-any/PKGBUILD (from rev 120375, lxde-common/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2014-10-07 21:17:53 UTC (rev 120376) @@ -0,0 +1,39 @@ +# $Id$ +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Juergen Hoetzel <juer...@archlinux.org> + +pkgname=lxde-common +pkgver=0.5.6 +pkgrel=1 +pkgdesc='Common files of the LXDE Desktop' +arch=('any') +url='http://lxde.org/' +license=('GPL2') +groups=('lxde') +backup=(etc/xdg/lxsession/LXDE/desktop.conf + etc/xdg/lxsession/LXDE/autostart) +depends=('gtk-engines' 'lxde-icon-theme' 'lxsession') +source=(http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.xz) +md5sums=('259b4a2db50117e632e34912251cfcb9') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --sysconfdir=/etc --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + + # Install lxde-logout.desktop file. + # https://sourceforge.net/p/lxde/bugs/399/ + install -Dm644 lxde-logout.desktop \ + "$pkgdir/usr/share/applications/lxde-logout.desktop" + + # Fix lxpanel profile location. + # https://sourceforge.net/p/lxde/patches/482/ + mv "$pkgdir"/etc/xdg/lxpanel/{profile/,}LXDE + rm -r "$pkgdir/etc/xdg/lxpanel/profile" +}