diff options
Diffstat (limited to 'libre/blackbox-libre/PKGBUILD')
-rw-r--r-- | libre/blackbox-libre/PKGBUILD | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/libre/blackbox-libre/PKGBUILD b/libre/blackbox-libre/PKGBUILD index 1c0c49a15..839ca0d7f 100644 --- a/libre/blackbox-libre/PKGBUILD +++ b/libre/blackbox-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id$ +# $Id: PKGBUILD 100133 2013-11-01 20:20:45Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: durbatuluk <dvdscripter@gmail.org> # Contributor: Steve Ponsford <sp4d@lavabit.com> @@ -7,17 +7,16 @@ _pkgname=blackbox pkgname=${_pkgname}-libre pkgver=0.70.1 -pkgrel=10.1 -pkgdesc="A window manager for X11 without non-free programs on menu" -url="http://${_pkgname}wm.sourceforge.net/" +pkgrel=11 +pkgdesc="A window manager for X11, without nonfree programs on the menu" +url="http://blackboxwm.sourceforge.net/" arch=('i686' 'x86_64') depends=('gcc-libs' 'libxft' 'libxext' 'libx11' 'libxt') -replaces=("${_pkgname}") -conflicts=("${_pkgname}") -provides=("${_pkgname}=${pkgver}") +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver license=('MIT') -options=('!libtool') -source=(http://downloads.sourceforge.net/${_pkgname}wm/${_pkgname}-${pkgver}.tar.gz +source=(http://downloads.sourceforge.net/blackboxwm/$_pkgname-$pkgver.tar.gz gcc4.3.patch bbdock.patch bsetbg-feh.patch @@ -31,7 +30,7 @@ md5sums=('2d173b95ca5e64ef478c6a5d2deee9df' 'f4fefa5f25c65c5d9a601e9c14646757') build() { - cd ${srcdir}/${_pkgname}-${pkgver} + cd $srcdir/$_pkgname-$pkgver patch -Np1 -i ../gcc4.3.patch patch -Np0 -i ../bbdock.patch @@ -40,8 +39,11 @@ build() { ./configure --prefix=/usr --mandir=/usr/share/man make - make DESTDIR=${pkgdir} install +} - install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE - install -D -m644 ${srcdir}/menu ${pkgdir}/usr/share/${_pkgname}/menu +package() { + cd $srcdir/$_pkgname-$pkgver + make DESTDIR=$pkgdir install + install -D -m644 LICENSE $pkgdir/usr/share/licenses/$_pkgname/LICENSE + install -D -m644 $srcdir/menu $pkgdir/usr/share/$_pkgname/menu } |