summaryrefslogtreecommitdiff
path: root/user/icewm/APKBUILD
blob: b4675904a3cb3d680578fabab535532c1dddf166 (plain) (blame)
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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=icewm
pkgver=1.5.1
pkgrel=0
pkgdesc="A window manager designed for speed, usability, and consistency"
url="https://github.com/bbidulock/icewm"
arch="all"
options="!check" # no tests
license="LGPL-2.0-only AND MirOS"
depends=""
makedepends="libxft-dev libxinerama-dev libxpm-dev libjpeg-turbo-dev
	libxrandr-dev glib-dev fribidi-dev gdk-pixbuf-dev librsvg-dev
	alsa-lib-dev libsndfile-dev libao-dev asciidoctor $depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/ice-wm/icewm/releases/download/$pkgver/icewm-$pkgver.tar.xz"

prepare() {
	default_prepare
	cd "$builddir"
	autoreconf -vif
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="e7329ccf87da5ad12402c70a3946303f58c76563d25319b9e8f6d153b34a67df0e17612874f8af3bea701b52d15168557842e8ffce0a5a255c59e67bd2022a01  icewm-1.5.1.tar.xz"