PKGBUILDs/extra/obconf/PKGBUILD

26 lines
973 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 38651 2009-05-09 19:18:44Z 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
}