blob: 2a038ff3f8ed7f351c93cc38fc8f0feccb0860ae (
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
42
43
44
45
46
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"
|