summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShadowKyogre2015-08-15 11:43:02 -0700
committerShadowKyogre2015-08-15 11:43:02 -0700
commitf96c804e88563c54c1b701f487af7f0a2a227338 (patch)
tree980d8dc031d182d5d2903fcf9d3305db087a2952 /PKGBUILD
parentb81d926a650d173ea13178a4ec52a798475b3fe5 (diff)
downloadaur-f96c804e88563c54c1b701f487af7f0a2a227338.tar.gz
Update swisseph to 2.02
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7c54a064cba..58dd2c892e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname='swisseph'
-pkgver='1.77.00'
+pkgver='2.02.01'
pkgrel='1'
pkgdesc='High precision Swiss Ephemeris developed by Astrodienst.'
arch=('i686' 'x86_64')
@@ -8,13 +8,21 @@ url=('http://www.astro.com/swisseph/')
depends=()
makedepends=()
optdepends=()
-source=('http://www.astro.com/ftp/swisseph/swe_unix_src_1.77.00.tar.gz')
+source=("http://www.astro.com/ftp/swisseph/swe_unix_src_${pkgver}.tar.gz")
md5sums=('62ec933bbe7dde6a96d0b363ca1e18e3')
build() {
- cd $srcdir/src/
+ cd "$srcdir/src/"
make swetest swemini libswe.a libswe.so
- install -d -m 755 $pkgdir/usr/share/swisseph/
- install -m 755 $srcdir/src/swetest $srcdir/src/swemini $srcdir/src/libswe.a $srcdir/src/libswe.so $pkgdir/usr/share/swisseph/
}
+package() {
+ cd "$srcdir/src/"
+ install -d -m 755 "$pkgdir/usr/share/swisseph/"
+ install -d -m 755 "$pkgdir/usr/bin"
+
+ install -m 755 "$srcdir/src/libswe.a" "$srcdir/src/libswe.so" "$pkgdir/usr/share/swisseph/"
+ install -m 755 "$srcdir/src/swetest" "$srcdir/src/swemini" "$pkgdir/usr/bin/"
+}
+
+md5sums=('e0bca95f36cd7502716d19fd3e979b14')