summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 67f2dee1f891338bbfdfced938f5ebd50cee226f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: XaBz <xabz.2k5@gmail.com>
# Maintainer: Simon Conseil <contact+aur at saimon dot org>
pkgname=aladin
pkgver=10.076
pkgrel=1
pkgdesc="Interactive software sky atlas"
arch=('any')
url="http://aladin.u-strasbg.fr/aladin.gml"
depends=('java-environment' 'sh')
license=('GPL3')
noextract=('Aladin.jar')
source=('http://aladin.u-strasbg.fr/java/download/Aladin.jar'
        'aladin.run' 'aladin.png' 'aladin.desktop')
md5sums=('fd5bdc6b1e7c602412dd81c0ff22770c'
         '8f5c34afe96b4a3034806ea1b70c8c77'
         'c79258b73b96c53c98779ae7c2003f31'
         '870c25beb85eaf25f78530f52f0fac62')

package() {
  cd "$srcdir"
  mkdir -p "$pkgdir/usr/share/java"
  #mkdir -p "$pkgdir/usr/share/aladin"
  mkdir -p "$pkgdir/usr/bin"
  mkdir -p "$pkgdir/usr/share/applications"
  mkdir -p "$pkgdir/usr/share/pixmaps"
  #install -m644 "$srcdir"/Aladin/FAQ.html "$pkgdir"/usr/share/aladin
  install -m644 "$srcdir"/Aladin.jar "$pkgdir"/usr/share/java
  install -m755 "$srcdir"/aladin.run "$pkgdir"/usr/bin/aladin
  install -m755 "$srcdir"/aladin.png "$pkgdir"/usr/share/pixmaps
  install -m755 "$srcdir"/aladin.desktop "$pkgdir"/usr/share/applications
}