blob: 90b69dff33574cb9d0975621306085ba7a935e67 (
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@st.ilet.to>
# Maintainer:
pkgname=twm
pkgver=1.0.9
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="59a6f076cdacb5f6945dac809bcf4906 twm-1.0.9.tar.bz2"
sha256sums="c575167ac33edf3bd1592f1bedfe0559debb128ed5fb4873c1278e3be166310a twm-1.0.9.tar.bz2"
sha512sums="7b967560d19d1d928729688b7fab8cb7ff1221cef8054b8ad8e62ff0abc451466b49f0ff55a06d7ca89304eda4125e3285751d983705d8d27bb34677a0bf0fbf twm-1.0.9.tar.bz2"
|