diff --git a/talimatname/genel/b/byond/talimat b/talimatname/genel/b/byond/talimat new file mode 100644 index 000000000..596d64820 --- /dev/null +++ b/talimatname/genel/b/byond/talimat @@ -0,0 +1,29 @@ +# Tanım: Byond dili temelli oyun sunucusu +# URL: https://secure.byond.com/ +# Paketçi: milisarge +# Gerekler: libpng +# Grup: oyun + +isim=byond +surum=512.1454 +devir=1 +kaynak=(https://secure.byond.com/games/download/build/512/${surum}_byond_linux.zip) + +derle() { + cd "${SRC}/${isim}" + chmod 644 man/man6/DreamDaemon.6 + chmod 644 man/man6/DreamMaker.6 + sed -i \ + -e "/^BYOND_SYSTEM/s|=.*|= ${PKG}/usr/share/byond|" \ + -e "/^BIN_DIR/s|=.*|= ${PKG}/usr/bin|" \ + -e "/^LIB_DIR/s|=.*|= ${PKG}/usr/lib|" \ + -e "/^MAN_DIR/s|=.*|= ${PKG}/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 + mkdir -p "${PKG}/usr/"{bin,lib,share/byond,share/man/man6} + make install +}