summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c958942d53f6a6f93943751c718daea43e261f6 (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
32
33
34
# Maintainer: Yigit Dallilar <yigit.dallilar@gmail.com>

pkgname=astroimagej
pkgver=3.2.0
_reldate=20160201
pkgrel=2
pkgdesc="ImageJ for Astronomy"
arch=('any')
url="http://www.astro.louisville.edu/software/astroimagej/"
depends=('java-environment')
license=('GPL')
noextract=("AstroImageJ_v${pkgver}_${_reldate}_linux.tar.gz")
source=("${url}/installation_packages/AstroImageJ_v${pkgver}_${_reldate}_linux.tar.gz"
        "aij")
sha1sums=('22938e075cd72604db1e1c732286002503a957bf'
         'a09026bbb1c482dfb28651c1163c3e574c23a838')

package() {
	
	cd ${srcdir}
	tarfile="AstroImageJ_v${pkgver}_${_reldate}_linux.tar.gz"

	mkdir ${pkgdir}/opt
	cp $tarfile ${pkgdir}/opt
	cd ${pkgdir}/opt
	tar zxvf $tarfile
	rm $tarfile
	mv ${pkgdir}/opt/AstroImageJ ${pkgdir}/opt/astroimagej

	cd ${srcdir}
	install -D -m755 aij ${pkgdir}/usr/bin/aij
  
}