updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / geogebra-prim / PKGBUILD
blobe0225602d497f1e3d11adaeffd5da0c972370a3f
1 # Maintainer: moostik <mooostik_at_gmail.com>
3 pkgname=geogebra-prim
4 pkgver=1
5 pkgrel=2
6 pkgdesc="Dynamic mathematics software with interactive graphics, algebra and spreadsheet - for primary school"
7 arch=('any')
8 url="http://www.geogebra.org/"
9 license=('custom')
10 depends=('geogebra')
11 install='geogebra-prim.install'
12 source=("${pkgname}.sh"
13         "${pkgname}.desktop"
14         "${url}download/license.txt")
15 md5sums=('2250bd77461f8c9bd42347a289165147'
16          '3bd363c33dfa8b6510e8e6a4e77611e7'
17          '39e2fbaf507a7b8db047152332d695c5')
19 package() {
20   cd "${srcdir}"
22   # Installing launch script
23   install -D -m755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
24   
25   # Creating menu item
26   install -D -m644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
28   # Installing license
29   install -D -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"