aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/.gitignore6
-rw-r--r--dist/archlinux/stable/PKGBUILD26
2 files changed, 32 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore
new file mode 100644
index 0000000..13fdeb3
--- /dev/null
+++ b/dist/archlinux/stable/.gitignore
@@ -0,0 +1,6 @@
+*
+!/.git*
+*~
+!/PKGBUILD
+!/solar-python.install
+
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
new file mode 100644
index 0000000..e7b03c7
--- /dev/null
+++ b/dist/archlinux/stable/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=solar-python
+pkgver=1
+pkgrel=1
+pkgdesc="Solar data calculation and prediction library for Python"
+arch=(i686 x86_64)
+url="https://github.com/maandree/solar-python"
+license=('AGPL3')
+depends=(python3)
+makedepends=(make coreutils python3)
+source=($url/archive/$pkgver.tar.gz)
+sha256sums=(0c92190b7bcacc1f47b05ab63fbb948f36ae90ca524b08fda3048c3fd763f6a3)
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4 install DESTDIR="$pkgdir"
+}
+