diff options
Diffstat (limited to 'extra/obconf')
-rw-r--r-- | extra/obconf/PKGBUILD | 44 |
1 files changed, 27 insertions, 17 deletions
diff --git a/extra/obconf/PKGBUILD b/extra/obconf/PKGBUILD index be385bdde..0fa8c420e 100644 --- a/extra/obconf/PKGBUILD +++ b/extra/obconf/PKGBUILD @@ -1,25 +1,35 @@ -# $Id: PKGBUILD 38529 2009-05-08 21:31:17Z jgc $ -# Maintainer: tobias <tobias@archlinux.org> -# Contributor: Tobias Kieslich <tobias@justdreams.de> +# $Id: PKGBUILD 123764 2011-05-12 21:09:06Z andrea $ +# Maintainer: +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Tobias Kieslich <tobias@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=obconf pkgver=2.0.3 -pkgrel=3 -pkgdesc="A gtk2 based configuration tool for the Openbox windowmanager" -arch=(i686 x86_64) +pkgrel=4 +pkgdesc="A GTK2 based configuration tool for the Openbox windowmanager" +arch=('i686' 'x86_64') +url="http://icculus.org/openbox/index.php/ObConf:About" license=('GPL') -url="http://tr.openmonkey.com/pages/obconf/" -depends=('openbox>=3.4.5' 'gtk2>=2.16.1' 'libglade' 'desktop-file-utils') +depends=('openbox' 'gtk2' 'libglade' 'desktop-file-utils' 'libsm') 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') +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 + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make + sed -i 's/=openbox/=obconf/' obconf.desktop +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + install -Dm644 ../Obconf-72.png \ + "${pkgdir}"/usr/share/pixmaps/obconf.png } |