summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/twm/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/twm/APKBUILD b/user/twm/APKBUILD
new file mode 100644
index 000000000..fad37c996
--- /dev/null
+++ b/user/twm/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=twm
+pkgver=1.0.10
+pkgrel=0
+pkgdesc="Tom's/Tab Window Manager for the X Window System"
+url="https://www.X.Org"
+arch="all"
+options="!check" # No test suite.
+license="MIT AND X11"
+depends=""
+makedepends="bison util-macros libxext-dev libx11-dev libxt-dev
+ libice-dev libxmu-dev"
+subpackages="$pkgname-doc"
+source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --datarootdir=/usr/share
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="1280683fce7ebbf5670239cb1f3cee2b40612bd9850d98827e793cf8bf298bdb58e48387cab943ea6befc6f7b34da2567353c22b8eaeb8bcf1b9e303cd7e6a9e twm-1.0.10.tar.bz2"