[arch-commits] Commit in antic (3 files)
Antonio Rojas
arojas at archlinux.org
Fri Jul 2 14:30:57 UTC 2021
Date: Friday, July 2, 2021 @ 14:30:57
Author: arojas
Revision: 970808
archrelease: copy trunk to community-x86_64
Added:
antic/repos/
antic/repos/community-x86_64/
antic/repos/community-x86_64/PKGBUILD
(from rev 970807, antic/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: antic/repos/community-x86_64/PKGBUILD (from rev 970807, antic/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2021-07-02 14:30:57 UTC (rev 970808)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=antic
+pkgver=0.2.4
+pkgrel=1
+pkgdesc='Algebraic Number Theory In C'
+arch=(x86_64)
+url='https://github.com/wbhart/antic'
+license=(LGPL)
+depends=(flint)
+makedepends=()
+source=(https://github.com/wbhart/antic/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('517d53633ff9c6348549dc6968567051b2161098d2bc395cb40ecc41e24312c6')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr
+
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list