summaryrefslogtreecommitdiffstats
path: root/extra/galculator/Pkgfile
blob: 8d19b92aba682547f0b04d26f44329362304d328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Calculatrice GTK2
# URL: http://galculator.sourceforge.net/
# Maintainer: NuTyX core team 
# Packager: fred.galusik at gmail dot com
# Depends on: atk, expat, fontconfig, freetype, glib, gtk, libglade, libpng, libxml2, pango, libX11, zlib

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
	cp $PKG/usr/share/pixmaps/$name.svg $PKG/usr/share/icons/hicolor/scalable/apps/$name.svg
	cp $PKG/usr/share/pixmaps/$name.png $PKG/usr/share/icons/hicolor/48x48/apps/$name.png
}