summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c21a617b11c122c50ec1fe5eeee74136dee018ed (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
38
39
40
41
42
43
44
45
46
# $Id$
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> 
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>

pkgname=lxlauncher-gtk3
_pkgname=lxlauncher
pkgver=0.2.4
pkgrel=3
pkgdesc='Open source clone of the Asus launcher for EeePC (GTK+ 3 version)'
arch=('i686' 'x86_64')
license=('GPL2')
url='http://lxde.org/'
groups=('lxde-gtk3')
depends=('gtk3' 'startup-notification' 'lxmenu-data' 'menu-cache')
makedepends=('intltool')
conflicts=($_pkgname)
backup=('etc/xdg/lxlauncher/gtkrc' 'etc/xdg/lxlauncher/settings.conf')
source=(http://downloads.sourceforge.net/lxde/$_pkgname-$pkgver.tar.xz
        0001-Workaround-for-invisible-icons-on-GTK-3.patch
        0002-Add-styling-support-for-GTK-3.patch)
md5sums=('8a21590c085ad82f4f50e4affb7ad0ab'
         '843235c45fd98a74c11ec76c423bf730'
         'ba2df6587d2699ac74291f099a311dc7')

prepare() {
  cd $_pkgname-$pkgver

  # Fixes for GTK+ 3
  patch -Np1 -i ../0001-Workaround-for-invisible-icons-on-GTK-3.patch
  patch -Np1 -i ../0002-Add-styling-support-for-GTK-3.patch

  ./autogen.sh
}

build() {
  cd $_pkgname-$pkgver
  ./configure --sysconfdir=/etc --prefix=/usr --enable-gtk3
  make
}

package() {
  cd $_pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}