mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 04:24:38 +08:00
26 lines
700 B
Bash
26 lines
700 B
Bash
# $Id$
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
_dbname=conway_polynomials
|
|
pkgname=sage-data-$_dbname
|
|
pkgver=0.4
|
|
pkgrel=1
|
|
pkgdesc="A small database of Conway polynomials"
|
|
arch=('any')
|
|
url="http://www.sagemath.org"
|
|
license=('GPL')
|
|
depends=()
|
|
makedepends=('sage-mathematics')
|
|
source=("http://www.sagemath.org/packages/upstream/conway_polynomials/$_dbname-$pkgver.tar.bz2" 'spkg-install')
|
|
md5sums=('17f061204b3a6133abb21e17b3abea19'
|
|
'ab8da85234a03740d41c65f8eca03976')
|
|
|
|
package() {
|
|
export PYTHONPATH="$PWD:/usr/lib/sage/site-packages:/usr/bin"
|
|
export SAGE_LOCAL="/usr"
|
|
export SAGE_SHARE="$pkgdir/usr/share/sage"
|
|
|
|
ln -s conway_polynomials-$pkgver src
|
|
python2 spkg-install
|
|
}
|