gambas3
This commit is contained in:
parent
a29e6d7b01
commit
c867b29c7f
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue