summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5985dfce215a9cd8f68188ea174d0ad00c01046 (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
# Maintainer: Andres Alejandro Navarro Alsina <aanavarroa@unal.edu.co>
# Contributor: Erin Sheldon
_pkgname=cmeds
pkgname=cmeds-git
pkgver=v0.9.6.r1.6e2f537
pkgrel=1
pkgdesc="A minimal C library provided for reading MEDS files"  
arch=('x86_64' 'i686')
url="https://github.com/esheldon/meds.git"
license=('GPL3')
depends=('cfitsio')
makedepends=('git')
source=("${_pkgname}::git+${url}")
md5sums=('SKIP')

pkgver() {
	 cd $_pkgname
	 printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}


build() {
	cd $_pkgname
	make
}


package() {
	  cd $_pkgname
	  make install prefix="$pkgdir"/usr
}