aboutsummaryrefslogtreecommitdiffstats
path: root/main/pekwm/APKBUILD
blob: e4ea5a05ff2058267d60dbc14ef03c20f27101ba (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pekwm
pkgver=0.1.17
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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

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

md5sums="514c04ff1c6123635c00e57443b5e86f  pekwm-0.1.17.tar.bz2"
sha256sums="8a1fd3bf9f38e8c7bb2b2864c090f986b60cec2281ecf1bba462d120fb327d00  pekwm-0.1.17.tar.bz2"
sha512sums="fa4c95ddc7e17f737b4e90f32258a79bf2a0abe96a2ab1a4166b1aa6832ff7a978116d224c98c31a4b33444b3c59e9ecd6095ca062d8a65f0f6174803f5b0811  pekwm-0.1.17.tar.bz2"