milis/talimatname/genel/g/gambas3/talimat

35 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Gambas açık kaynak Basic dili için uygulama geliştirme arayüzü
# URL: http://gambas.sourceforge.net
# Paketçi: milisarge
# Gerekler: libffi libpng libgnome-keyring gdk-pixbuf imlib2 gtk3 desktop-file-utils glew poppler-glib qt5-webkit sdl2 sdl2-image sdl2-mixer sdl2-ttf gtkglext v4l-utils xdg-utils xorg-mesa librsvg libxml2
# Grup: ofis
isim=gambas3
surum=3.10.0
devir=1
kaynak=(http://downloads.sourceforge.net/gambas/gambas3-$surum.tar.bz2)
derle() {
kisa_isim=${isim%$(cut -d . -f 1 <<< $surum)}
cd $isim-$surum
./reconf-all
./configure \
--prefix=/usr \
--libdir=/usr/lib
make bindir=${PKG}/usr/bin
make -j1 install-strip DESTDIR=$PKG XDG_UTILS=""
mkdir -p $PKG/usr/share/icons/hicolor/{scalable/apps,48x48/apps,64x64/mimetypes}
cp -a app/desktop/$isim.svg $PKG/usr/share/icons/hicolor/scalable/apps
cp -a app/desktop/$isim.png $PKG/usr/share/icons/hicolor/48x48/apps
cp -a app/mime/*.png $PKG/usr/share/icons/hicolor/64x64/mimetypes
cp -a main/mime/application-x-$isim.png $PKG/usr/share/icons/hicolor/64x64/mimetypes
mkdir -p $PKG/usr/share/{applications,mime/packages}
cp -a app/desktop/$isim.desktop $PKG/usr/share/applications
cp -a app/mime/*.xml $PKG/usr/share/mime/packages
cp -a main/mime/*.xml $PKG/usr/share/mime/packages
}