summaryrefslogtreecommitdiff
path: root/extra/obconf/PKGBUILD
blob: be385bdde606a6e3d7c0ab2919b958bc0d7d35e6 (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
# $Id: PKGBUILD 38529 2009-05-08 21:31:17Z jgc $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=obconf
pkgver=2.0.3
pkgrel=3
pkgdesc="A gtk2 based configuration tool for the Openbox windowmanager"
arch=(i686 x86_64)
license=('GPL')
url="http://tr.openmonkey.com/pages/obconf/"
depends=('openbox>=3.4.5' 'gtk2>=2.16.1' 'libglade' 'desktop-file-utils')
install=${pkgname}.install
source=(http://icculus.org/openbox/${pkgname}/${pkgname}-${pkgver}.tar.gz \
        http://icculus.org/openbox/mw/images/8/80/Obconf-72.png)
md5sums=('b22e273721851dedad72acbc77eefb68' '340ae4732e76731d2838473541eb8d4e')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr || return 1
  make || return 1
  sed -i 's/=openbox/=obconf/' obconf.desktop || return 1
  make DESTDIR=${startdir}/pkg install || return 1
  install -Dm644 ../Obconf-72.png ${startdir}/pkg/usr/share/pixmaps/obconf.png || return 1
}