blob: ba3d9a9f43f44a04e133e910f0224eeb0a6f1f33 (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=uwm
pkgver=0.30
pkgrel=3
pkgdesc="Micro (u) Window Manager"
arch=('i686' 'x86_64')
url="http://uwm.sourceforge.net/"
license=('AGPL3')
backup=(usr/share/X11/uwm/system.uwmrc)
depends=('xcb-util-renderutil' 'xcb-util-image' 'xcb-util-keysyms' 'bash' 'libpng' 'libjpeg' 'xcb-util-wm')
makedepends=('git')
source=("$pkgname::git://git.code.sf.net/p/uwm/code#tag=0.30"
"uwm.desktop")
md5sums=('SKIP'
'a16c73faeab8c1fc3c74f3320776789a')
prepare() {
cd $pkgname
sed 's,/usr/local/etc/system.uwmrc,/usr/share/X11/uwm/system.uwmrc,' -i uwm.h
sed 's,/usr/local/etc/system.uwmrc,/usr/share/X11/uwm/system.uwmrc,' -i uwmrc.5
sed 's,/etc/system.uwmrc /usr/local/etc/system.uwmrc,/usr/share/X11/uwm/system.uwmrc,' -i uwm.1
}
build() {
cd $pkgname
make
make contrib/uwm-helper
}
package() {
cd $pkgname
install -Dm0755 uwm "$pkgdir/usr/bin/uwm"
install -Dm0755 contrib/uwm-helper "$pkgdir/usr/bin/uwm-helper"
install -Dm0644 uwm.1 "$pkgdir/usr/share/man/man1/uwm.1"
install -Dm0644 uwmrc.5 "$pkgdir/usr/share/man/man5/uwmrc.5"
install -Dm0644 contrib/uwmrc.example "$pkgdir/usr/share/X11/uwm/system.uwmrc"
install -Dm0644 contrib/uwm16x16.xpm "$pkgdir/usr/share/pixmaps/uwm16x16.xpm"
cd "$srcdir"
install -Dm0644 uwm.desktop "$pkgdir/usr/share/xsessions/uwm.desktop"
}
# vim: set sw=2 et:
|