summaryrefslogtreecommitdiffstats
path: root/extra/galculator/Pkgfile
blob: ab39b8b2329d486a39bf0f3c7739bd7204d12bb3 (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:

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
}