blob: 9db05a0712abb7c568d8fab9070239f744bd7453 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#$Id: PKGBUILD 12709 2010-03-12 12:03:21Z angvp $
# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
pkgname=lxlauncher
pkgver=0.2.1
pkgrel=3
pkgdesc="Launcher for Asus EeePC (part of LXDE)"
arch=('i686' 'x86_64')
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
}
|