summaryrefslogtreecommitdiff
path: root/repo/icewm/icewm.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
commit873665024ebfaa761ee49b508a79db7178aeb778 (patch)
tree6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/icewm/icewm.xibuild
parent4445f6e15185f58dc599390ab74df3ca19b437b7 (diff)
added gnupg
Diffstat (limited to 'repo/icewm/icewm.xibuild')
-rw-r--r--repo/icewm/icewm.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/icewm/icewm.xibuild b/repo/icewm/icewm.xibuild
new file mode 100644
index 0000000..3ecdf11
--- /dev/null
+++ b/repo/icewm/icewm.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="icewm"
+DESC="Window manager designed for speed, usability and consistency"
+
+MAKEDEPS=" alsa-lib asciidoctor cmake fribidi glib imlib2 libao libintl libsm libsndfile libxcomposite libxdamage libxft libxinerama libxpm libxrandr perl librsvg"
+
+PKG_VER=2.9.6
+SOURCE="https://github.com/ice-wm/icewm/releases/download/$PKG_VER/icewm-$PKG_VER.tar.lz"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCFGDIR=/etc \
+ -DENABLE_NLS=OFF \
+ -DCONFIG_IMLIB2=ON \
+ -DENABLE_LTO=ON \
+ -DDOCDIR=/usr/share/doc/icewm \
+ -DCONFIG_LIBRSVG=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$PKG_DEST" cmake --build build --target install
+}
+