#$Id: PKGBUILD 121400 2014-10-25 13:58:34Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>

pkgname=lxappearance
pkgver=0.6.1
pkgrel=1
pkgdesc='Feature-rich GTK+ theme switcher of the LXDE Desktop'
arch=('i686' 'x86_64')
license=('GPL2')
url='http://lxde.org/'
groups=('lxde')
depends=('gtk2')
makedepends=('intltool' 'dbus-glib')
source=(http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.xz)
md5sums=('79740125628a8374c1101cf26e558fa5')

build() {
  cd $pkgname-$pkgver
  ./configure --sysconfdir=/etc --prefix=/usr \
    --enable-dbus
  make
}

package() {
  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
}
