summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadowKyogre2016-08-01 14:46:41 -0700
committerShadowKyogre2016-08-01 14:46:41 -0700
commit7231dd3e5ea609d3371ecf0be401a4b31ef25abb (patch)
tree3ea710fbcc42aba59a764ab676f293558b7b1940
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
-rw-r--r--.SRCINFO8
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD13
3 files changed, 15 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cb840b29ab7..ce78a5f3e44 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
# Generated by mksrcinfo v8
-# Wed Mar 2 23:04:32 UTC 2016
+# Mon Aug 1 21:46:23 UTC 2016
pkgbase = swisseph
pkgdesc = High precision Swiss Ephemeris developed by Astrodienst.
- pkgver = 2.02.01
+ pkgver = 2.05.01
pkgrel = 1
url = http://www.astro.com/swisseph/
arch = i686
arch = x86_64
license = GPL
- source = http://www.astro.com/ftp/swisseph/swe_unix_src_2.02.01.tar.gz
- md5sums = e0bca95f36cd7502716d19fd3e979b14
+ source = http://www.astro.com/ftp/swisseph/swe_unix_src_2.05.01.tar.gz
+ sha256sums = fb7aeb708cb728ab0564528f43b8983775df7c508abfa50533b3207fc6edb53b
pkgname = swisseph
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..a5401c5d685
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg/
+src/
+*.pkg.tar.xz
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')