summaryrefslogtreecommitdiff
path: root/repo/jwm/jwm.xibuild
blob: 06748313be9ba8c984c4e60ca69bfc58630ec9a2 (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
#!/bin/sh

NAME="jwm"
DESC="A lightweight window manager for the X11 Window System"

MAKEDEPS=" libx11 libxext libxft libxmu libxinerama libxpm libxrender libjpeg-turbo libpng librsvg pango"

PKG_VER=2.4.1
SOURCE="http://joewing.net/projects/jwm/releases/jwm-$PKG_VER.tar.xz"

prepare() {
	# not replaced for some reason..
	sed -i "s|@mkdir_p@|mkdir -p|g" \
		po/Makefile.in.in
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-rpath
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}