summaryrefslogtreecommitdiff
path: root/repo/x11
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:28:13 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:28:13 +0100
commit4c585ad54388285500fd18a6aaa516894e0f2c16 (patch)
tree756ab363c11ce8dec4d16e20885c5e422db4a92e /repo/x11
parent751b7f3d84515715d07d92a5aed78062bd39adff (diff)
added xcatclock
Diffstat (limited to 'repo/x11')
-rw-r--r--repo/x11/berry.xibuild22
-rw-r--r--repo/x11/motif.xibuild46
-rw-r--r--repo/x11/xautolock.xibuild26
3 files changed, 94 insertions, 0 deletions
diff --git a/repo/x11/berry.xibuild b/repo/x11/berry.xibuild
new file mode 100644
index 0000000..5b4fe5e
--- /dev/null
+++ b/repo/x11/berry.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="berry"
+DESC="A healthy, byte-sized window manager"
+
+MAKEDEPS="make "
+DEPS="libx11 libxft libxinerama "
+
+PKG_VER=0.1.11
+SOURCE="https://github.com/JLErvin/berry/archive/refs/tags/$PKG_VER.tar.gz"
+
+build () {
+ make prefix=/usr
+}
+
+package () {
+ make prefix=/usr DESTDIR=$PKG_DEST install
+
+ install -Dm644 examples/sxhkdrc $PKG_DEST/usr/share/doc/berry/examples/
+ install -Dm644 examples/autostart $PKG_DEST/usr/share/doc/berry/examples/
+
+}
diff --git a/repo/x11/motif.xibuild b/repo/x11/motif.xibuild
new file mode 100644
index 0000000..a283ca0
--- /dev/null
+++ b/repo/x11/motif.xibuild
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+NAME="motif"
+DESC="User interface component toolkit"
+
+MAKEDEPS="make "
+DEPS="libx11 libxft libxt libxpm musl "
+
+PKG_VER=2.3.8
+SOURCE="https://sourceforge.net/projects/motif/files/Motif%20$PKG_VER%20Source%20Code/motif-$PKG_VER.tar.gz/download"
+
+ADDITIONAL="
+02-fix-format-security.patch
+03-no-demos.patch
+06-cast-size_t-to-int.patch
+07-fix_lintian_reported_manpage_typos.patch
+08-fix_hyphen_in_man_pages.patch
+09-fix_typo_in_libxm.patch
+10-fix_manpage-has-bad-whatis-entry.patch
+11-fix_underlinking.patch
+13-fix_hardcoded_x11rgb_path.patch
+15-link_uil_against_libuil.patch
+16-fix-undefined-use-of-sprintf.patch
+17-switch-to-system-iswspace.patch
+18-option-main.patch"
+
+#prepare () {
+# apply_patches
+#}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-jpeg \
+ --disable-png \
+ --enable-xft \
+ --disable-demos \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
diff --git a/repo/x11/xautolock.xibuild b/repo/x11/xautolock.xibuild
new file mode 100644
index 0000000..75476d6
--- /dev/null
+++ b/repo/x11/xautolock.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="xautolock"
+DESC="An automatic X screen-locker/screen-saver"
+
+MAKEDEPS="make imake xorg-cf-files"
+DEPS="libx11 libxscrnsaver musl "
+
+PKG_VER=2.2
+SOURCE="https://www.ibiblio.org/pub/linux/X11/screensavers/xautolock-$PKG_VER.tgz"
+ADDITIONAL="processwait.patch "
+
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ xmkmf
+ make
+}
+
+package () {
+ make PREFIX=/usr DESTDIR=$PKG_DEST install
+ make MANPATH=/usr/share/man DESTDIR=$PKG_DEST install.man
+}