summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 21:31:43 +0200
committerAntonio Rojas2015-06-08 21:31:43 +0200
commitff56d6840f74c9ea51eba55e599b8ffdfdbaedbe (patch)
tree698c414ea511170682687ce64cc3dd11bc68972a
downloadaur-ff56d6840f74c9ea51eba55e599b8ffdfdbaedbe.tar.gz
Initial import
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD22
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..90cc6a8d77e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = sage-data-cremona_ellcurve
+ pkgdesc = John Cremona's large database of elliptic curves for Sage
+ pkgver = 20150519
+ pkgrel = 1
+ url = http://www.sagemath.org
+ arch = any
+ license = GPL
+ source = http://mirrors.mit.edu/sage/spkg/upstream/database_cremona_ellcurve/database_cremona_ellcurve-20150519.tar.bz2
+ md5sums = aac18192545c43e1c2e282169eecfa04
+
+pkgname = sage-data-cremona_ellcurve
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..56e8fa8b265
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 126549 2015-01-25 09:03:30Z arojas $
+# Maintainer: Antonio Rojas <arojas@archlinux.org>
+
+_dbname=cremona_ellcurve
+pkgname=sage-data-$_dbname
+pkgver=20150519
+pkgrel=1
+pkgdesc="John Cremona's large database of elliptic curves for Sage"
+arch=('any')
+url="http://www.sagemath.org"
+license=('GPL')
+depends=()
+makedepends=()
+#source=("http://www.sagemath.org/packages/upstream/database_$_dbname/database_$_dbname-$pkgver.tar.bz2")
+source=("http://mirrors.mit.edu/sage/spkg/upstream/database_$_dbname/database_$_dbname-$pkgver.tar.bz2")
+md5sums=('aac18192545c43e1c2e282169eecfa04')
+
+package() {
+ cd src
+ mkdir -p "$pkgdir"/usr/share/sage/cremona
+ install -m644 * "$pkgdir"/usr/share/sage/cremona
+}