summaryrefslogtreecommitdiffstats
path: root/main/jwm/APKBUILD
blob: 77dd40a31982a85151dd944e9981590a09a8dcf7 (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
# Contributor: Jeff Pohlmeyer <yetanothergeek@gmail.com>
# Maintainer: Jeff Pohlmeyer <yetanothergeek@gmail.com>

pkgname=jwm
pkgver=590
pkgrel=0
pkgdesc="A lightweight window manager for the X11 Window System"
url="http://joewing.net/programs/jwm/"
arch="all"
license="GPL"
depends=
depends_dev="libx11-dev libxext-dev libxft-dev libxmu-dev libxinerama-dev
             libxpm-dev libxrender-dev libjpeg-turbo-dev libpng-dev"
makedepends="$depends_dev"
install=
subpackages="$pkgname-doc"
source="http://joewing.net/programs/jwm/snapshots/$pkgname-$pkgver.tar.bz2"


_builddir="$srcdir"/$pkgname-$pkgver


build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-confirm \
		--enable-icons \
		--enable-png \
		--enable-jpeg \
		--enable-xpm \
		--enable-xft \
		--enable-xrender \
		--enable-shape \
		--enable-xmu \
		--enable-xinerama \
		--disable-fribidi \
		--disable-debug \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make \
		BINDIR="$pkgdir/usr/bin" \
		MANDIR="$pkgdir/usr/share/man" \
		SYSCONF="$pkgdir/etc" install || return 1
}

md5sums="1ebd537e8a7025a84d5e7b957c0dd19a  jwm-590.tar.bz2"