archrelease: copy trunk to community-any
[ArchLinux/community.git] / sage-data-conway_polynomials / trunk / PKGBUILD
blobb16429924408bca1ab5ab0f1098ecb25d876a88c
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 _dbname=conway_polynomials
4 pkgname=sage-data-$_dbname
5 pkgver=0.5
6 pkgrel=5
7 pkgdesc='A small database of Conway polynomials'
8 arch=(any)
9 url='https://www.sagemath.org'
10 license=(GPL)
11 depends=()
12 makedepends=(python)
13 source=(https://mirrors.mit.edu/sage/spkg/upstream/conway_polynomials/$_dbname-$pkgver.tar.bz2
14         spkg-install)
15 sha256sums=('d8f2788a85b1c2482cc4abe1a35d3da777445e21ec49b031d36b899e3c0deb17'
16             'd1dd7f996b6552edaf692296a8bc170572a95c8201634d45adddddb7092ab636')
18 package() {
19   export SAGE_SHARE="$pkgdir"/usr/share
20   export PYTHONPATH=$PWD
21   ln -s conway_polynomials-$pkgver src
22   python spkg-install