summaryrefslogtreecommitdiffstats
path: root/galculator/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'galculator/Pkgfile')
-rwxr-xr-xgalculator/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/galculator/Pkgfile b/galculator/Pkgfile
new file mode 100755
index 000000000..30edd5bab
--- /dev/null
+++ b/galculator/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Calculatrice GTK2
+# URL: http://galculator.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: atk, fontconfig, gtk, libglade, libxml2, pango, xorg-libx11
+# Run on: atk,fontconfig,gtk,libglade,libxml2,pango,xorg-libx11
+
+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
+ ln -s /usr/share/pixmaps/$name.svg $PKG/usr/share/icons/hicolor/scalable/apps/$name.svg
+ ln -s /usr/share/pixmaps/$name.png $PKG/usr/share/icons/hicolor/48x48/apps/$name.png
+}
+