From 079da5c3ae78603622d95e36fff4936fa783e378 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 5 Jun 2014 06:40:14 +0200 Subject: dist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/.gitignore | 6 ++++++ dist/archlinux/stable/PKGBUILD | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 dist/archlinux/stable/.gitignore create mode 100644 dist/archlinux/stable/PKGBUILD 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" +} + -- cgit v1.2.3-70-g09d2