summaryrefslogtreecommitdiff
path: root/community/lxappearance-obconf/PKGBUILD
blob: c202ac5f8efd72d54b42e32cc2464e3b0984821b (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
# $Id: PKGBUILD 96676 2013-09-03 01:00:14Z bgyorgy $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>

pkgname=lxappearance-obconf
pkgver=0.2.0
pkgrel=2
pkgdesc='A plugin for LXAppearance to configure Openbox'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://lxde.org/"
groups=('lxde')
depends=('lxappearance' 'openbox')
makedepends=('intltool')
options=('!libtool')
source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
        obconf-rrbutton.patch)
md5sums=('8bf23c90febe6a655e0f86c80e44725d'
         '73cd418ff8dc68a76538fc829d6260c7')

prepare() {
  cd $srcdir/$pkgname-$pkgver

  # Fix building with openbox-3.5.2
  patch -Np1 -i ../obconf-rrbutton.patch
}

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --disable-static
  make
}


package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}