aboutsummaryrefslogtreecommitdiffstats
path: root/main/pekwm/APKBUILD
blob: f614e5a4b324f1665587cf25d7658141c3a21801 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pekwm
pkgver=0.1.16
pkgrel=0
pkgdesc="Fast & Light Window Manager"
url="http://pekwm.org/projects/pekwm"
arch="all"
license="GPL"
depends=
makedepends="libiconv-dev libx11-dev libpng-dev libxpm-dev libxrender-dev libxrandr-dev"
install=
subpackages="$pkgname-doc"
source="http://pekwm.org/projects/pekwm/files/pekwm-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="ec9bce332d0545c28f74ca4bf6b69cbb  pekwm-0.1.16.tar.bz2"