aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-06-05 06:40:14 +0200
committerMattias Andrée <maandree@operamail.com>2014-06-05 06:40:14 +0200
commit079da5c3ae78603622d95e36fff4936fa783e378 (patch)
treecf680d6fc2926b4ea1e7f77dcb801f2848b914a6 /dist/archlinux/stable/PKGBUILD
parentm make uninstall (diff)
downloadsolar-python-079da5c3ae78603622d95e36fff4936fa783e378.tar.gz
solar-python-079da5c3ae78603622d95e36fff4936fa783e378.tar.bz2
solar-python-079da5c3ae78603622d95e36fff4936fa783e378.tar.xz
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dist/archlinux/stable/PKGBUILD')
-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"
+}
+