aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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"
+}
+