blob: 499d05b57f95027c111d0c7dc33c739a7b4a9550 (
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
|
# Maintainer: Gunnar Bretthauer <taijian@posteo.de>
# Contributor: Philippe Cherel <philippe dot cherel at mayenne dot org>
# Contributor: fabioticconi <fabio dot ticconi at gmail dot com>
pkgname=weidu-bin
pkgver=249
pkgrel=1
pkgdesc="A dialogue compiler for Infinity Engine games (precompiled binary)"
arch=('x86_64')
url="http://weidu.org"
license=('GPL2')
source=(https://github.com/WeiDUorg/weidu/releases/download/v$pkgver.00/WeiDU-Linux-$pkgver-amd64.zip)
md5sums=('e80e52ed8dd95eeba8005eb0ea6c9e29')
options=('!strip')
package() {
cd "$srcdir/WeiDU-Linux"
install -D -m755 ./mosunpack "${pkgdir}/usr/bin/mosunpack"
install -D -m755 ./mospack "${pkgdir}/usr/bin/mospack"
install -D -m755 ./tisunpack "${pkgdir}/usr/bin/tisunpack"
install -D -m755 ./tispack "${pkgdir}/usr/bin/tispack"
install -D -m755 ./tolower "${pkgdir}/usr/bin/tolower"
install -D -m755 ./weidu "${pkgdir}/usr/bin/weidu"
install -D -m755 ./weinstall "${pkgdir}/usr/bin/weinstall"
# copy the examples & lib directories
install -m755 -d "${pkgdir}/usr/share/doc/${pkgname}/examples" #"${pkgdir}/usr/share/${pkgname}/lib"
# cp -r ./lib "${pkgdir}/usr/share/${pkgname}/lib"
cp -r ./examples "${pkgdir}/usr/share/doc/${pkgname}/examples"
# copy the readmes
install -D -m644 ./readme-mosunpack.txt "${pkgdir}/usr/share/doc/${pkgname}/readme-mosunpack.txt"
install -D -m644 ./readme-tisunpack.txt "${pkgdir}/usr/share/doc/${pkgname}/readme-tisunpack.txt"
install -D -m644 ./README-WeiDU-Changes.txt "${pkgdir}/usr/share/doc/${pkgname}/README-WeiDU-Changes.txt"
install -D -m644 ./README-WeiDU.html "${pkgdir}/usr/share/doc/${pkgname}/README-WeiDU.html"
}
|