Merge pull request #450 from oltulu/patch-235

Update talimat
This commit is contained in:
Milli İşletim Sistemi (Milis Linux) 2018-02-10 00:48:10 +02:00 committed by GitHub
commit a0ec9ee54c
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.
# URL: http://alleg.sourceforge.net/
# 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
isim=allegro
surum=5.1.12
surum=5.2.3.0
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() {
cd $isim-$surum.0
cmake \
mkdir -p build && cd build
cmake "../allegro-$surum" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release .
make
make DESTDIR=$PKG install
-DWANT_DOCS=OFF \
-GNinja
ninja
cd ../
DESTDIR="$PKG" ninja -C build install
}