diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-05 06:40:14 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-05 06:40:14 +0200 |
commit | 079da5c3ae78603622d95e36fff4936fa783e378 (patch) | |
tree | cf680d6fc2926b4ea1e7f77dcb801f2848b914a6 /dist/archlinux/stable | |
parent | m make uninstall (diff) | |
download | solar-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')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 26 |
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" +} + |