summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-05 03:54:44 -0400
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-06 01:35:49 +0000
commitb197330ddfa9d4c39388ee78a30ca112f99bf7e2 (patch)
tree604cbaa60a0de0a79f8ef0a4fbfcaa5e53a17556
parent967836af5bde3b8e9fa6976affcc34302fea871b (diff)
downloadpackages-b197330ddfa9d4c39388ee78a30ca112f99bf7e2.tar.gz
packages-b197330ddfa9d4c39388ee78a30ca112f99bf7e2.tar.bz2
packages-b197330ddfa9d4c39388ee78a30ca112f99bf7e2.tar.xz
packages-b197330ddfa9d4c39388ee78a30ca112f99bf7e2.zip
user/twm: pull in, fix license
-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"