summaryrefslogtreecommitdiffstats
path: root/xfce/galculator/Pkgfile
blob: 30edd5babc398ade6778198bdbabc2a1a144a94b (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, 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
}