blob: 57aab47897d202e9346e22b39962567faa91b664 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor (Arch): durbatuluk <dvdscripter@gmail.org>
# Contributor (Arch): Steve Ponsford <sp4d@lavabit.com>
# Maintainer (Hyperbola): Márcio Silva <coadde@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=blackbox
pkgver=0.74
pkgrel=1
pkgrel+=.par2
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=($pkgname-$pkgver.tar.gz::"https://github.com/bbidulock/blackboxwm/archive/$pkgver.tar.gz"
menu)
sha256sums=('b7abd3def4d499180bfde85c38d723f2e6930d0956d7d7c81280f0f16cff557d'
'f7daa30ed0360ece14d14ddece602e1161b5dfc84098411531e4e02fa20ddc71')
prepare() {
cd blackboxwm-$pkgver
sed -e '/AC_DISABLE_SHARED/d' -i configure.ac # Build shared library
./autogen.sh
}
build() {
cd blackboxwm-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
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
}
|