diff options
author | ScrumpyJack <scrumpyjack@me.com> | 2014-06-23 07:57:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-23 08:24:00 +0000 |
commit | 395f5b0426804b3ce1ebd9bf2528b32a3771081c (patch) | |
tree | 94e41cdb6f573024862938428d57b793c0d4cbce /testing/twm | |
parent | 6ab47fd2aee4bc99c0aaff9064bb1715723ed5d1 (diff) | |
download | aports-395f5b0426804b3ce1ebd9bf2528b32a3771081c.tar.bz2 aports-395f5b0426804b3ce1ebd9bf2528b32a3771081c.tar.xz |
testing/twm: new aport
Tom's or Tabbed Window Manager
http://www.x.org
Diffstat (limited to 'testing/twm')
-rw-r--r-- | testing/twm/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/twm/APKBUILD b/testing/twm/APKBUILD new file mode 100644 index 0000000000..0481e24705 --- /dev/null +++ b/testing/twm/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: ScrumpyJack <scrumpyjack@me.com> +# Maintainer: +pkgname=twm +pkgver=1.0.8 +pkgrel=0 +pkgdesc="Tom's or Tab Window Manager for the X Window System" +url="http://www.x.org" +arch="all" +license="MIT" +depends="" +depends_dev="bison util-macros libxext-dev libx11-dev libxt-dev libice-dev libxmu-dev" +makedepends="$depends_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 --prefix=/usr --datarootdir=/usr/share +} + +package() { + cd "$_builddir" + make || return 1 + 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" |