blob: 0481e24705245543913c0ca539a50f3b232630a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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"
|