summaryrefslogblamecommitdiff
path: root/user/icewm/APKBUILD
blob: c74eaf649dfab7e5ff33b126961e06dd89818a75 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                           
            







                                                                         

                                                                       

                                        
                                                                                       




























                                         
                                                                                                                                                                 
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=icewm
pkgver=1.5.2
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="f2a542d162e984dcc6f7b8e3fc2dbd7df46510f961431b4c3b6651351f7b236ef4724a07ce01dfa163b08c9a130e7ee3ed62e1c5b1f364340998d31290323614  icewm-1.5.2.tar.xz"