summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShadowKyogre2016-08-01 14:46:41 -0700
committerShadowKyogre2016-08-01 14:46:41 -0700
commit7231dd3e5ea609d3371ecf0be401a4b31ef25abb (patch)
tree3ea710fbcc42aba59a764ab676f293558b7b1940 /PKGBUILD
parent47edcfe63b27434b0502de209f89eb9afa6f67d4 (diff)
downloadaur-7231dd3e5ea609d3371ecf0be401a4b31ef25abb.tar.gz
Bump to 2.05.01, pkg improvements
- Install the provided lib to standard location of /usr/lib - Install the header files to /usr/include/swisseph
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eb14cbedffe..c1900422e35 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname='swisseph'
-pkgver='2.02.01'
+pkgver='2.05.01'
pkgrel='1'
pkgdesc='High precision Swiss Ephemeris developed by Astrodienst.'
arch=('i686' 'x86_64')
@@ -9,7 +9,6 @@ depends=()
makedepends=()
optdepends=()
source=("http://www.astro.com/ftp/swisseph/swe_unix_src_${pkgver}.tar.gz")
-md5sums=('62ec933bbe7dde6a96d0b363ca1e18e3')
build() {
cd "$srcdir/src/"
@@ -18,11 +17,15 @@ build() {
package() {
cd "$srcdir/src/"
- install -d -m 755 "$pkgdir/usr/share/swisseph/"
+ install -d -m 755 "$pkgdir/usr/lib"
install -d -m 755 "$pkgdir/usr/bin"
+ install -d -m 755 "$pkgdir/usr/include/swisseph"
- install -m 755 "$srcdir/src/libswe.a" "$srcdir/src/libswe.so" "$pkgdir/usr/share/swisseph/"
+ install -m 755 "$srcdir/src/libswe.a" "$srcdir/src/libswe.so" "$pkgdir/usr/lib"
install -m 755 "$srcdir/src/swetest" "$srcdir/src/swemini" "$pkgdir/usr/bin/"
+
+ cp *.h "${pkgdir}/usr/include/swisseph"
+ rm "${pkgdir}/usr/include/swisseph/swedll.h"
}
-md5sums=('e0bca95f36cd7502716d19fd3e979b14')
+sha256sums=('fb7aeb708cb728ab0564528f43b8983775df7c508abfa50533b3207fc6edb53b')