This commit is contained in:
milisbir 2018-08-28 17:03:12 +03:00
parent a29e6d7b01
commit c867b29c7f
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
# 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 qt5-webkit sdl2 sdl2-image sdl2-mixer sdl2-ttf v4l-utils xdg-utils xorg-mesa librsvg libxml2
# Grup: ofis
isim=gambas3
surum=3.7.1
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
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
}