summaryrefslogtreecommitdiff
path: root/libre/blackbox/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/blackbox/PKGBUILD')
-rw-r--r--libre/blackbox/PKGBUILD55
1 files changed, 21 insertions, 34 deletions
diff --git a/libre/blackbox/PKGBUILD b/libre/blackbox/PKGBUILD
index 8edfb2333..24a8c0cf4 100644
--- a/libre/blackbox/PKGBUILD
+++ b/libre/blackbox/PKGBUILD
@@ -1,55 +1,42 @@
-# $Id: PKGBUILD 149324 2015-12-06 22:57:37Z bpiotrowski $
# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor (Arch): durbatuluk <dvdscripter@gmail.org>
# Contributor (Arch): Steve Ponsford <sp4d@lavabit.com>
-# Maintainer: Márcio Silva <coadde@hyperbola.info>
+# Maintainer (Hyperbola): Márcio Silva <coadde@hyperbola.info>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=blackbox
-pkgver=0.70.1
-pkgrel=13.parabola2
-pkgdesc="A window manager for X11, without nonfree programs on the menu"
-url="http://${pkgname}wm.sourceforge.net/"
-arch=('i686' 'x86_64' 'armv7h')
+pkgver=0.74
+pkgrel=1
+pkgrel+=.par1
+pkgdesc="A window manager for X11"
+pkgdesc+=", without nonfree programs on the menu"
+url="https://github.com/bbidulock/blackboxwm"
+arch=('x86_64')
+arch+=('i686' 'armv7h')
depends=('gcc-libs' 'libxft' 'libxext' 'libx11' 'libxt')
replaces=($pkgname-libre)
conflicts=($pkgname-libre)
license=('MIT')
-source=(http://downloads.sourceforge.net/${pkgname}wm/$pkgname-$pkgver.tar.gz
- gcc4.3.patch
- bbdock.patch
- bsetbg-feh.patch
- textpropertytostring-unconditional.patch
- blackbox-0.70.1-asneeded.patch
+source=($pkgname-$pkgver.tar.gz::"https://github.com/bbidulock/blackboxwm/archive/$pkgver.tar.gz"
menu)
-md5sums=('2d173b95ca5e64ef478c6a5d2deee9df'
- 'bc7a1335d77cdeb6f85cba4d01e68e63'
- '69c5a5e981b087b2d8267cab996b48dd'
- 'e7fb0d5bfd95820c0194ec73df66dadc'
- '3b92ad246f07126dd55ae9634d6e875e'
- '55d2437d58aeb76392fe66caab13840c'
- 'f4fefa5f25c65c5d9a601e9c14646757')
+sha256sums=('b7abd3def4d499180bfde85c38d723f2e6930d0956d7d7c81280f0f16cff557d'
+ 'f7daa30ed0360ece14d14ddece602e1161b5dfc84098411531e4e02fa20ddc71')
prepare() {
- cd $srcdir/$pkgname-$pkgver
-
- patch -Np1 -i ../gcc4.3.patch
- patch -Np0 -i ../bbdock.patch
- patch -Np0 -i ../bsetbg-feh.patch
- patch -Np1 -i ../textpropertytostring-unconditional.patch
- patch -Np0 -i ../blackbox-0.70.1-asneeded.patch
-
- autoreconf -fi
+ cd blackboxwm-$pkgver
+ sed -e '/AC_DISABLE_SHARED/d' -i configure.ac # Build shared library
+ ./autogen.sh
}
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd blackboxwm-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make
}
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
+ cd blackboxwm-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -D -m644 $srcdir/menu "$pkgdir"/usr/share/$pkgname/menu
}