summaryrefslogblamecommitdiff
path: root/user/icewm/APKBUILD
blob: 47a6f63b51fb0045f16ab3a5e6bd86497b095c30 (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.4
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="7b5743872d328f937b49e2b79f7d6c0b8404326ef7e7a3b529c80138b36e8c2b30db79593125a8be76abe40282c779f79ca64b504f980ef2c87052448bdc076e  icewm-1.5.4.tar.xz"