blob: e39c79a1226a5841e5139a61d5c9829ea19b0d5a (
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
|
# Contributor: Bug <bug2000@gmail.com> [Thank you the all mighty omp!]
# Maintainer: Bug <bug2000@gmail.com>
pkgname=byond
_pkgvermajor=515
_pkgverminor=1633
pkgver="$_pkgvermajor.$_pkgverminor"
pkgrel=1
pkgdesc="Game server based on the 'Byond' language [Build your own net dream]."
arch=('i686' 'x86_64')
url="https://www.byond.com/"
license=('unknown')
depends=('libpng' 'ncurses' 'gcc-libs')
source=("https://secure.byond.com/games/download/build/${_pkgvermajor}/${pkgver}_byond_linux.zip")
md5sums=('7003b612a3f97c0dc84771fca5df2918')
build() {
cd "${srcdir}/${pkgname}"
chmod 644 man/man6/DreamDaemon.6
chmod 644 man/man6/DreamMaker.6
sed -i \
-e "/^BYOND_SYSTEM/s|=.*|= ${pkgdir}/usr/share/byond|" \
-e "/^BIN_DIR/s|=.*|= ${pkgdir}/usr/bin|" \
-e "/^LIB_DIR/s|=.*|= ${pkgdir}/usr/lib|" \
-e "/^MAN_DIR/s|=.*|= ${pkgdir}/usr/share/man|" \
-e "/ln -f -s/s|\$(BYOND_SYSTEM)|/usr/share/byond|" \
-e "s/libzip/libext/g" \
-e "/libpng/d" \
-e "/ldconfig/d" \
Makefile
make
}
package(){
cd "${srcdir}/${pkgname}"
mkdir -p "${pkgdir}/usr/"{bin,lib,share/byond,share/man/man6}
make install
}
|