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 gnome-keyring gdk-pixbuf imlib2 gtk3 gmime openal desktop-file-utils glew poppler-glib qt5 qt5-webengine qt5-webkit sdl-mixer sdl-ttf sdl2 sdl2-image sdl2-mixer sdl2-ttf gtkglext v4l-utils xdg-utils xorg-mesa librsvg libxml2
# Grup: ofis
isim=gambas3
surum=3.11.4
devir=1
kaynak=(https://gitlab.com/gambas/gambas/-/archive/$surum/gambas-$surum.tar.bz2)
derle() {
kisa_isim=${isim%$(cut -d . -f 1 <<< $surum)}
cd gambas-$surum
ln -sf /lib/*.so /usr/lib/
./reconf-all
./configure \
--prefix=/usr
make
make -j1 install 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
}