#$Id: PKGBUILD 12709 2010-03-12 12:03:21Z angvp $ # Maintainer: Angel 'angvp' Velasquez # Maintainer: Geoffroy Carrier pkgname=lxlauncher pkgver=0.2.1 pkgrel=3 pkgdesc="Launcher for Asus EeePC (part of LXDE)" arch=('i686' 'x86_64' 'mips64el') license=('GPL2') url="http://lxde.org/" groups=('lxde') depends=('gtk2' 'startup-notification' 'gnome-menus' 'menu-cache' 'intltool') makedepends=('pkgconfig') source=(http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz lxlauncher-0.2.1-fix-SUSE-lint-warnings.patch lxlauncher-0.2.1-fix-for-the-new-behavior-of-libmenu-cache-0.3-series.patch lxlauncher-0.2.1-dsofix.patch intltool.patch) md5sums=('5dbe6076eb1a411278e1fc2bccf2d75d' '3a4355047d4cfb149ef6a0fa6001b990' 'ab568453c9bac6848ca6c8cdcf61b371' 'fa7fd2a1691c6bad86a5278770b38db1' 'bd04ebee868915da9d64ec9becc1212d') build() { cd "$srcdir/$pkgname-$pkgver" # Adding patches thanks to CWickert and AndyRTR patch -Np1 -i $srcdir/lxlauncher-0.2.1-fix-SUSE-lint-warnings.patch || return 1 patch -Np1 -i $srcdir/lxlauncher-0.2.1-fix-for-the-new-behavior-of-libmenu-cache-0.3-series.patch || return 1 patch -Np1 -i $srcdir/lxlauncher-0.2.1-dsofix.patch || return 1 #patch -Np1 -i $srcdir/01_fix_infinite_loop.dpatch || return 1 patch -Np1 -i $srcdir/intltool.patch || return 1 autoreconf || return 1 ./configure --sysconfdir=/etc --prefix=/usr || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 }