updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / carmetal / PKGBUILD
blob69069611ac800001963803e1f23e8c52c4e1789b
1 #Maintainer: moostik <mooostik_at_gmail.com>
2 #Contributor: Jean-Christophe Imbert <imbert@crans.org>
4 pkgname=carmetal
5 pkgver=3.5.1
6 pkgrel=3
7 url="http://db-maths.nuxit.net/CaRMetal/"
8 pkgdesc="A dynamic geometry program using the C.a.R. engine"
9 arch=('any')
10 license=('GPL')
11 depends=('java-runtime' 'shared-mime-info')
12 install=('carmetal.install')
13 source=(http://db-maths.nuxit.net/CaRMetal/download/${pkgname}_folder.tgz
14         ${pkgname}.sh
15         ${pkgname}.desktop
16         ${pkgname}.png
17         ${pkgname}.xml
18         application-x-${pkgname}.png)
20 package() {
21         cd "${srcdir}"
22         install -d ${pkgdir}/usr/share/java/${pkgname}
23         install -Dm644 CaRMetal.jar *.mcr $pkgdir/usr/share/java/${pkgname}
24         install -d $pkgdir/usr/share/pixmaps
25         install -Dm644 ${pkgname}.png $pkgdir/usr/share/pixmaps/${pkgname}.png
26         install -Dm755 ${pkgname}.sh $pkgdir/usr/bin/${pkgname}
27         install -Dm644 ${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
28         install -Dm644 application-x-$pkgname.png \
29           $pkgdir/usr/share/icons/hicolor/48x48/mimetypes/application-x-$pkgname.png
30         install -Dm644 $srcdir/$pkgname.xml $pkgdir/usr/share/mime/packages/$pkgname.xml
31
33 md5sums=('48d61f0bd5fccca33bef71073bfd37dc'
34          'e312ac3a26be3dde1125ab48311c7401'
35          'a3fde4cca7750a8c39d2d13f6737384f'
36          'ea61df10e0fdd8dfe999c4052663fba5'
37          '58e62164346bc3de85e86a0025cd0a3c'
38          '11fa5b737f6e76cff5d0cff27ea5b8d0')