summaryrefslogtreecommitdiffstats
path: root/extra/galculator/Pkgfile
blob: 50195c82585fdb27947cdcc5027a6685360974ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Calculatrice GTK2
# URL: http://galculator.sourceforge.net/
# Maintainer: NuTyX core team 
# Packager: thierryn1 at hispeed dot ch
# Depends on: atk, expat, fontconfig, freetype, glib, gtk, libglade, libpng, libxml2, pango, xorg-libx11
# Run on: atk,expat,fontconfig,freetype,glib,gtk,libglade,libpng,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
}