blob: 66e3007a91ff6f24c162d87e5edbb02c982b16c1 (
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
43
44
45
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=wm2-svn
_pkgname=wm2
pkgver=r114
pkgrel=2
pkgdesc="The ideal window manager for today's elegant and ascetic programmer"
arch=('x86_64' 'i686')
url="http://www.all-day-breakfast.com/wm2/"
provides=('wm2')
conflicts=('wm2')
license=('custom')
depends=('libxmu')
makedepends=('setconf')
source=("$pkgname::svn://svn.code.sf.net/p/wm2/code/trunk/wm2"
"wm2.desktop")
md5sums=('SKIP'
'9daf70e6b6f5ca92670e06a65020ffbf')
pkgver() {
cd $pkgname
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
prepare() {
cd $pkgname
setconf Makefile LIBS "-L/usr/X11/lib -lXext -lX11 -lXmu -lm -lstdc++"
setconf Makefile CFLAGS "$CFLAGS -fpermissive"
}
build() {
cd $pkgname
make
tail -31 README | head -20 > LICENSE
}
package() {
cd $pkgname
install -Dm755 wm2 "$pkgdir/usr/bin/wm2"
install -Dm644 ../wm2.desktop "$pkgdir/usr/share/xsessions/wm2.desktop"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README "$pkgdir/usr/share/doc/$_pkgname/REAME"
}
# vim:set ts=2 sw=2 et:
|