aboutsummaryrefslogtreecommitdiffstats
path: root/main/twm
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-05 14:18:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-05 14:18:15 +0000
commit73907caa89f0533630911bcad48152b587df0366 (patch)
treedf7efbb6ffe91601461362358e6cac62e8886de0 /main/twm
parenta683081e8537cb0efda48e603ef6188e9bb34ba9 (diff)
downloadaports-73907caa89f0533630911bcad48152b587df0366.tar.bz2
aports-73907caa89f0533630911bcad48152b587df0366.tar.xz
main/twm: moved from testing
Diffstat (limited to 'main/twm')
-rw-r--r--main/twm/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/twm/APKBUILD b/main/twm/APKBUILD
new file mode 100644
index 0000000000..2a038ff3f8
--- /dev/null
+++ b/main/twm/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: ScrumpyJack <scrumpyjack@me.com>
+# Maintainer:
+pkgname=twm
+pkgver=1.0.8
+pkgrel=1
+pkgdesc="Tom's or Tab Window Manager for the X Window System"
+url="http://www.x.org"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="$depends_dev bison util-macros libxext-dev libx11-dev libxt-dev
+ libice-dev libxmu-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --datarootdir=/usr/share \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="4b28317d4a9f7ca61bef8462e132bd4c twm-1.0.8.tar.bz2"
+sha256sums="7660352353d632127ff50390991706aa660b28a4ada816c2582ac02720722e44 twm-1.0.8.tar.bz2"
+sha512sums="669c6453574d3f12ce27ab365303b1fdf5bbe2d0219bff5decf7058cd08eb942202f4006a35352554b6220c618a1e5405515fbec8e0df1387420e08bc871d663 twm-1.0.8.tar.bz2"