openttd-paketlendi

This commit is contained in:
milisbir 2018-10-15 22:42:38 +03:00
parent c55fcdb5e7
commit 6e1fe06457
4 changed files with 13 additions and 17 deletions

View File

@ -2,17 +2,17 @@
# URL: http://dev.openttdcoop.org/projects/opengfx # URL: http://dev.openttdcoop.org/projects/opengfx
# Paketçi: milisarge # Paketçi: milisarge
# Gerekler: # Gerekler:
# Grup: sistem # Grup: kütüphane
isim=openttd-opengfx isim=openttd-opengfx
surum=0.5.3 surum=0.5.4
devir=1 devir=1
kaynak=(http://bundles.openttdcoop.org/opengfx/releases/${surum}/opengfx-${surum}.zip) kaynak=(http://bundles.openttdcoop.org/opengfx/releases/$surum/opengfx-$surum.zip)
derle() { derle() {
cd ${SRC} cd $SRC
tar xvf opengfx-${surum}.tar tar xf opengfx-$surum.tar
cd opengfx-${surum} cd opengfx-${surum}
install -d ${PKG}/usr/share/openttd/data install -d ${PKG}/usr/share/openttd/data
install -m644 *.grf ${PKG}/usr/share/openttd/data install -m644 *.grf ${PKG}/usr/share/openttd/data

View File

@ -7,13 +7,11 @@
isim=openttd-opensfx isim=openttd-opensfx
surum=0.2.3 surum=0.2.3
devir=1 devir=1
kaynak=(http://bundles.openttdcoop.org/opensfx/releases/opensfx-${surum}.zip) kaynak=(http://bundles.openttdcoop.org/opensfx/releases/opensfx-$surum.zip)
derle() { derle() {
cd ${SRC}/opensfx-${surum} cd ${SRC}/opensfx-${surum}
chmod 0644 * chmod 0644 *
mkdir -pm0755 ${PKG}/usr/share/openttd/data mkdir -pm0755 ${PKG}/usr/share/openttd/data
cp opensfx.* ${PKG}/usr/share/openttd/data/ cp opensfx.* ${PKG}/usr/share/openttd/data/
install -Dm644 license.txt ${PKG}/usr/share/licenses/${isim}/license install -Dm644 license.txt ${PKG}/usr/share/licenses/${isim}/license

View File

@ -1,2 +1,2 @@
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1 gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1
update-desktop-database > /dev/null 2>&1 update-desktop-database > /dev/null 2>&1

View File

@ -1,12 +1,11 @@
# Tanım:Transport Tycoon Deluxe çalıştırmak için bir motor. # Tanım: Transport Tycoon Deluxe çalıştırmak için bir motor.
# URL: http://www.openttd.org # URL: http://www.openttd.org
# Paketçi: milisarge # Paketçi: milisarge
# Gerekler: libpng sdl icu xorg-fontconfig lzo hicolor-icon-theme desktop-file-utils xz openttd-opengfx openttd-opensfx # Gerekler: libpng sdl icu xorg-fontconfig lzo hicolor-icon-theme desktop-file-utils xz openttd-opengfx openttd-opensfx
# Grup: sistem # Grup: oyun
isim=openttd isim=openttd
surum=1.5.2 surum=1.8.0
devir=1 devir=1
kaynak=(http://binaries.openttd.org/releases/${surum}/${isim}-${surum}-source.tar.xz) kaynak=(http://binaries.openttd.org/releases/${surum}/${isim}-${surum}-source.tar.xz)
@ -15,12 +14,11 @@ derle() {
./configure \ ./configure \
--prefix-dir=/usr \ --prefix-dir=/usr \
--binary-isim=${isim} \ --binary-name=${isim} \
--binary-dir=bin \ --binary-dir=bin \
--data-dir=share/${isim} \ --data-dir=share/${isim} \
--install-dir=${PKG} \ --install-dir=${PKG} \
--doc-dir=share/doc/${isim} \ --menu-name="OpenTTD" \
--menu-isim="OpenTTD" \
--personal-dir=.${isim} --personal-dir=.${isim}
make make