diff options
Diffstat (limited to 'extra/galculator/Pkgfile')
-rwxr-xr-x | extra/galculator/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/galculator/Pkgfile b/extra/galculator/Pkgfile new file mode 100755 index 000000000..8d19b92ab --- /dev/null +++ b/extra/galculator/Pkgfile @@ -0,0 +1,21 @@ +# Description: Calculatrice GTK2 +# URL: http://galculator.sourceforge.net/ +# Maintainer: NuTyX core team +# Packager: fred.galusik at gmail dot com +# Depends on: atk, expat, fontconfig, freetype, glib, gtk, libglade, libpng, libxml2, pango, libX11, zlib + +name=galculator +version=1.3.4 +release=1 +source=(http://prdownloads.sourceforge.net/galculator/$name-$version.tar.gz) + +build() { +cd $name-$version + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + + mkdir -p $PKG/usr/share/icons/hicolor/{48x48,scalable}/apps + cp $PKG/usr/share/pixmaps/$name.svg $PKG/usr/share/icons/hicolor/scalable/apps/$name.svg + cp $PKG/usr/share/pixmaps/$name.png $PKG/usr/share/icons/hicolor/48x48/apps/$name.png +} |