summaryrefslogtreecommitdiff
path: root/testing/lxappearance/APKBUILD
blob: 19534dfbbb3bbb19fce4fa63777714be03f9198d (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
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer:

pkgname=lxappearance
pkgver=0.6.3
pkgrel=2
pkgdesc='Feature-rich GTK+ theme switcher'
arch='all'
license='GPL2'
url='https://lxde.org/'
makedepends='gtk+2.0-dev intltool dbus-glib-dev'
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
    cd "$builddir"
    ./configure \
	--build=$CBUILD \
	--host=$CHOST \
	--prefix=/usr \
	--sysconfdir=/etc \
	--enable-dbus \
	|| return 1
    make  || return 1
}

package() {
    cd "$builddir"
    make DESTDIR="$pkgdir" install || return 1
}

sha512sums="035cc952a33ac25408a4158cb4e745b17af3f29b5ceedfbe6b37235d16c801658403e862cd35ad7c8ca20fe6186fab1dce74a6e8d3b2eec12a30d532fc21662c  lxappearance-0.6.3.tar.xz"