milis/talimatname/genel/g/gambas3/talimat

35 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-08-28 16:03:12 +02:00
# Tanım: Gambas açık kaynak Basic dili için uygulama geliştirme arayüzü
# URL: http://gambas.sourceforge.net
# Paketçi: milisarge
2018-08-29 16:45:32 +02:00
# 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
2018-08-28 16:03:12 +02:00
# Grup: ofis
isim=gambas3
2018-08-29 15:13:45 +02:00
surum=3.11.4
2018-08-28 16:03:12 +02:00
devir=1
2018-08-29 15:13:45 +02:00
kaynak=(https://gitlab.com/gambas/gambas/-/archive/$surum/gambas-$surum.tar.bz2)
2018-08-28 16:03:12 +02:00
derle() {
kisa_isim=${isim%$(cut -d . -f 1 <<< $surum)}
2018-08-29 15:13:45 +02:00
cd gambas-$surum
ln -sf /lib/*.so /usr/lib/
2018-08-28 16:03:12 +02:00
./reconf-all
./configure \
2018-08-29 11:14:13 +02:00
--prefix=/usr
make
make -j1 install DESTDIR=$PKG XDG_UTILS=""
2018-08-28 16:03:12 +02:00
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
2018-08-29 11:14:13 +02:00
2018-08-28 16:03:12 +02:00
}