summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ce9b6956f8290994b0bc5a9fdf82025015651b7d (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
# Maintainer: Brian Bidulock <bidulock@openss7.org>

pkgname=blackbox-git
pkgver=0.72.2
pkgrel=2
pkgdesc="A window manager for X11"
arch=('i686' 'x86_64')
url="https://github.com/bbidulock/blackboxwm"
license=('MIT')
provides=('blackbox' 'blackboxwm')
conflicts=('blackbox' 'blackbox-cvs' 'blackboxwm')
depends=('libxext' 'libxft')
options=('!libtool' 'staticlibs')
makedepends=('git')
source=("$pkgname::git+https://github.com/bbidulock/blackboxwm.git")
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags --long | sed 's|-|.|g;s|[.]g[a-f0-9]*$||'
}

build() {
  cd $pkgname
  ./autogen.sh
  ./configure \
      --prefix=/usr \
      --mandir=/usr/share/man \
      --enable-static \
      --enable-shared
  make V=0
}

package() {
  cd $pkgname
  make DESTDIR="$pkgdir/" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

# vim: et sw=2: