summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db67293248600781a5aaf0b99f91d0d590205bd0 (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
pkgname=calcelestial
pkgver=0.4.1
pkgrel=1
pkgdesc="calculates positions, rise and set times of celestial bodies"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="http://www.steffenvogel.de/2012/12/23/cron-jobs-fur-sonnenauf-untergang/"
license=('GPL3')
depends=('libnova')
source=("https://github.com/stv0g/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('cac61a6bfc245fba2df0d6a6e33d01e6')
conflicts=()
provides=()

prepare() {
  cd "${pkgname}-${pkgver}"
}

build() {
  cd "${pkgname}-${pkgver}"
  autoreconf -i
  ./configure --prefix=/usr --disable-geonames
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}/" install
}