summaryrefslogtreecommitdiff
path: root/user/icewm/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-07-31 00:17:44 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-07-31 00:17:44 -0500
commit7ae40701ee87c40771bfa8f13019a614263a3767 (patch)
tree339cfd61758d9cc5a5e3cbacb7704f9128415f66 /user/icewm/APKBUILD
parent118ca90c3d1a1d3cd5d873ef1aec3a7675c4a09c (diff)
downloadpackages-7ae40701ee87c40771bfa8f13019a614263a3767.tar.gz
packages-7ae40701ee87c40771bfa8f13019a614263a3767.tar.bz2
packages-7ae40701ee87c40771bfa8f13019a614263a3767.tar.xz
packages-7ae40701ee87c40771bfa8f13019a614263a3767.zip
user/icewm: new package
Diffstat (limited to 'user/icewm/APKBUILD')
-rw-r--r--user/icewm/APKBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/user/icewm/APKBUILD b/user/icewm/APKBUILD
new file mode 100644
index 000000000..7f3d91d5d
--- /dev/null
+++ b/user/icewm/APKBUILD
@@ -0,0 +1,53 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=icewm
+pkgver=1.4.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 $depends_dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://github.com/bbidulock/icewm/releases/download/$pkgver/icewm-$pkgver.tar.bz2
+ guard-string-funcs.patch
+ portable-ylocale.patch
+ fix-globit.patch
+ "
+
+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="0d227d75d2e3e6e5314eb0990375b85a34496e61e8b504ee023decb52b0c3a20bfd65c0d491b738d3742ddf3f21acfabfc8e4d43df51d137f568580b6c5ed0cd icewm-1.4.2.tar.bz2
+07bbaff552d26828089d6c0aaa4a70d321c2e1b21a70545232c31b464281a857c267ba93b23d8267c4cc7e599067be6508554d2b9aea3aa2b18372c9bb7b4dfe guard-string-funcs.patch
+d7389a2ee6627612280991765c9c4a3c3d8305624b28bef0aa9b7d8316fc4708bd8e32dc5777fb3abed61cec8546e905257fe1cdb6ad7e3da2c169e747199173 portable-ylocale.patch
+1cadda6a5ac03ebe7671e173af4bff43be9ba4680d015edf4222fd739b6d11c1d6b1ca058f6cf5c350d5bf7d587298a23e178b660d121c517e8bc551f3fec5aa fix-globit.patch"