summaryrefslogtreecommitdiffstats
path: root/extra/galculator/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 17:38:05 +0200
committertnut <tnut at nutyx dot com>2011-10-15 17:38:05 +0200
commit8bea41d830a967c1c93464ee117efae8744f8af8 (patch)
treeb7916cde3c66127dd52e2295d062e9d809b68a64 /extra/galculator/Pkgfile
parent55a4aa91740a169efacd4adbc2f6efef25222bbd (diff)
downloadnutyx-extra-8bea41d830a967c1c93464ee117efae8744f8af8.tar.gz
nutyx-extra-8bea41d830a967c1c93464ee117efae8744f8af8.tar.bz2
nutyx-extra-8bea41d830a967c1c93464ee117efae8744f8af8.tar.xz
nutyx-extra-8bea41d830a967c1c93464ee117efae8744f8af8.zip
galculator dans extra
Diffstat (limited to 'extra/galculator/Pkgfile')
-rwxr-xr-xextra/galculator/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/galculator/Pkgfile b/extra/galculator/Pkgfile
new file mode 100755
index 000000000..30edd5bab
--- /dev/null
+++ b/extra/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
+}
+