summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34fbf56bacd456ad74188d976c981e9c1ecf18a0 (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
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname='2bwm'
pkgver=0.3
pkgrel=1
pkgdesc="A fast floating window manager"
arch=('i686' 'x86_64')
url="https://github.com/venam/2bwm"
license=('ISC')
depends=('xcb-util-wm' 'xcb-util-keysyms' 'xcb-util-xrm')
conflicts=('2bwm-git' 'mcwm' 'mcwm-git') # due to /usr/bin/hidden program
makedepends=('git' 'xcb-util')
source=("$pkgname::git+https://github.com/bbidulock/2bwm.git#tag=v${pkgver}" '2bwm.desktop' '2bwm.copying')
md5sums=('SKIP'
         '4342d9210effbe4bfb58722f4275aa5c'
         'adaee5c7e455ba15e0ca9a2692464253')

build() {
  cd $pkgname
  make PREFIX=/usr
}
package() {
  cd $pkgname
  make DESTDIR="$pkgdir" PREFIX=/usr MANPREFIX=/usr/share/man install
  install -Dm644 "$srcdir/2bwm.desktop" "$pkgdir/usr/share/xsessions/2bwm.desktop"
  install -Dm644 "$srcdir/2bwm.copying" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}