Update talimat

This commit is contained in:
MEBis 2018-02-07 22:10:50 +03:00 committed by GitHub
parent 6e8e015fe7
commit 4931fcbf57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 9 deletions

View File

@ -1,19 +1,23 @@
# Tanım: C/C++ için çoklu platform oyun geliştirme kütüphanesi. # Tanım: C/C++ için çoklu platform oyun geliştirme kütüphanesi.
# URL: http://alleg.sourceforge.net/ # URL: http://alleg.sourceforge.net/
# Paketçi: milisarge # Paketçi: milisarge
# Gerekler: flac gtk3 libidn libvorbis xorg-glu openal physfs xorg-libxpm xorg-libxxf86dga # Gerekler: flac gtk3 libidn libvorbis xorg-glu openal physfs xorg-libxpm xorg-libxxf86dga ninja
# Grup: kütüphane # Grup: kütüphane
isim=allegro isim=allegro
surum=5.1.12 surum=5.2.3.0
devir=1 devir=1
kaynak=(http://download.gna.org/allegro/allegro-unstable/$surum/$isim-$surum.tar.gz)
kaynak=(https://github.com/liballeg/allegro5/releases/download/5.2.3.0/allegro-5.2.3.0.tar.gz)
derle() { derle() {
cd $isim-$surum.0 mkdir -p build && cd build
cmake \ cmake "../allegro-$surum" \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=Release . -DCMAKE_INSTALL_PREFIX=/usr \
make -DWANT_DOCS=OFF \
make DESTDIR=$PKG install -GNinja
ninja
cd ../
DESTDIR="$PKG" ninja -C build install
} }