blob: 3fef302dbd376b54aa1828913b300b17e4600572 (
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
46
47
48
49
50
51
52
53
54
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Corey Mwamba <contact.me@coreymwamba.co.uk>
pkgname=jwm-git
pkgver=s1303
pkgrel=2
pkgdesc="JWM is a light-weight window manager for the X11 Window System. Git version."
arch=('i686' 'x86_64')
url="http://joewing.net/projects/jwm/"
license=('GPL')
groups=('x11')
license=('GPL2')
provides=('jwm')
conflicts=('jwm' 'jwm-snapshot' 'jwm-flashfixed' 'jwm-snapshot-lite')
depends=('fribidi' 'librsvg' 'libxinerama' 'libxmu' 'libxext' 'libpng' 'libx11' 'libxft' 'libjpeg>=7' 'libxpm')
makedepends=('git')
source=("$pkgname::git+https://github.com/joewing/jwm.git")
md5sums=('SKIP')
pkgver() {
cd $pkgname
# Use the tag of the last commit
git describe --always | sed 's|-|.|g'
}
prepare() {
cd $pkgname
/usr/bin/cp -f /usr/share/automake-1.15/config.guess .
/usr/bin/cp -f /usr/share/automake-1.15/config.sub .
autoreconf
}
build() {
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc
# --disable-icons disable icon support
#--disable-png disable PNG images
#--disable-cairo disable Cairo support
#--disable-rsvg disable rsvg support
#--disable-jpeg disable JPEG images
#--disable-xft disable Xft
#--disable-xrender disable XRender
#--disable-fribidi disable bi-directional unicode support
#--disable-xpm disable XPM images
#--disable-shape disable use of the X shape extension
#--disable-xmu disable Xmu support
#--disable-xinerama disable Xinerama support
#--disable-nls do not use Native Language Support
make V=0
}
package() {
cd $pkgname
make DESTDIR="$pkgdir/" install
}
|