blob: b616d949287d2ca65461c9717f209f410062e5c4 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# Maintainer: J. Scheurich <mufti11@web.de>
pkgname=white_dune
pkgver=0.99pl1202
pkgrel=1
epoch=
pkgdesc="white_dune X3D/VRML97 tool"
arch=('86_64')
url="ftp://ftp.ourproject.org/pub/wdune/$pkgname-$pkgver.tar.bz2"
license=('GPL')
groups=()
depends=()
makedepends=(gcc
fakeroot
glu
mesa
libx11
libxt
libxmu
libxext
libxi
libxp
openmotif
libpng
libjpeg-turbo
zlib
expat
gcc
flex
bison
gawk
m4
make
rcs
firefox
lxterminal
gimp
audacity
cinelerra-cv
kolourpaint
imagemagick
netpbm
freeglut
jdk8-openjdk
cgal
boost
curl
freetype2
ttf-bitstream-vera
)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$url")
noextract=()
md5sums=('150d6c48145568ed779d31f60ed605f0')
validpgpkeys=()
prepare() {
cd "$pkgname-$pkgver"
# patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --without-devil --with-uninstallcomment="pacman -R wdune" --with-optimization --with-helpurl="/usr/share/doc/$name/docs" --with-protobaseurl="/usr/share/doc/$name/docs" --with-checkincommand="ci"
make
}
check() {
cd "$pkgname-$pkgver"
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 bin/dune $pkgdir/usr/bin/dune
mkdir -p "$pkgdir/usr/share/doc/$name/docs"
cp -r "docs" "$pkgdir/usr/share/doc/$name/docs"
install -Dm644 desktop/kde/dune.desktop $pkgdir/usr/share/applications/dune.desktop
install -Dm644 desktop/kde/dune.png $pkgdir/usr/share/pixmaps/dune.png
install -Dm644 desktop/kde/dune4kids.desktop $pkgdir/usr/share/applications/dune4kids.desktop
install -Dm644 desktop/kde/dune4kids.png $pkgdir/usr/share/pixmaps/dune4kids.png
}
|