blob: aeb3b5bb18f8f8183ca5bbe5624c02d8b987c228 (
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
47
48
49
50
|
#$Id$
# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
pkgname=lxappearance-gtk3
_pkgname=lxappearance
pkgver=0.6.1
pkgrel=1
pkgdesc='Feature-rich GTK+ theme switcher of the LXDE Desktop (GTK+ 3 version)'
arch=('i686' 'x86_64')
license=('GPL2')
url='http://lxde.org/'
groups=('lxde-gtk3')
depends=('gtk3')
makedepends=('intltool' 'dbus-glib')
conflicts=($_pkgname)
provides=($_pkgname)
source=(http://downloads.sourceforge.net/lxde/$_pkgname-$pkgver.tar.xz
0001-Substitute-the-correct-GTK-version-in-pkgconfig-file.patch
0002-Fix-About-dialog-for-GTK-3.patch)
md5sums=('79740125628a8374c1101cf26e558fa5'
'4c8e294c268c884e92e7b2b87c3f0942'
'ca89c010d12ca4be9120580334bcda79')
prepare() {
cd $_pkgname-$pkgver
# Substitute the correct GTK+ version in pkgconfig file
patch -Np1 -i ../0001-Substitute-the-correct-GTK-version-in-pkgconfig-file.patch
# Fix About dialog for GTK+ 3
patch -Np1 -i ../0002-Fix-About-dialog-for-GTK-3.patch
autoreconf -fi
}
build() {
cd $_pkgname-$pkgver
./configure --sysconfdir=/etc --prefix=/usr \
--enable-dbus --enable-gtk3
make
}
package() {
cd $_pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|