updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / algobox / PKGBUILD
blob4e3ffb6a674d5a1c1a5585ea2dba94406321c1c0
1 # Maintainer: akregator <fpeterscom@yahoo.fr>
2 pkgname=algobox
3 pkgver=0.6
4 pkgrel=1
5 pkgdesc="Initiation to algorithmic"
6 url="http://www.xm1math.net/algobox/index.html"
7 license="GNU/GPL"
8 arch=('i686' 'x86_64')
9 source=("http://www.xm1math.net/algobox/$pkgname-$pkgver.tar.bz2")
10 depends=('qt')
11 build() {
12 cd $srcdir/$pkgname-$pkgver
13 qmake
14 make
15 mkdir -p $pkgdir/usr/bin/
16 cp $pkgname $pkgdir/usr/bin/
18 mkdir -p $pkgdir/usr/share/applications/
19 mkdir -p $pkgdir/usr/share/algobox/
20 mkdir -p $pkgdir/usr/share/pixmaps/
21 cp utilities/algobox.png $pkgdir/usr/share/pixmaps/
23 #make .desktop file
24 echo "[Desktop Entry]
25 Encoding=UTF-8
26 Exec=algobox
27 Icon=algobox.png
28 Type=Application
29 Terminal=false
30 MultipleArgs=false
31 Name=AlgoBox
32 GenericName=AlgoBox
33 StartupNotify=false
34 Categories=Application;Science;
35 " > $pkgdir/usr/share/applications/algobox.desktop
37 cp -r ressources/ $pkgdir/usr/share/algobox/
38 cp -r documents/ $pkgdir/usr/share/algobox/
40 md5sums=('c40cd5dc3c6f1d7bd04ed518f0141cec')