[arch-commits] Commit in (libhomfly libhomfly/trunk libhomfly/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Aug 4 20:03:30 UTC 2016
Date: Thursday, August 4, 2016 @ 20:03:30
Author: arojas
Revision: 185102
New sagemath dependency
Added:
libhomfly/
libhomfly/trunk/
libhomfly/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: libhomfly/trunk/PKGBUILD
===================================================================
--- libhomfly/trunk/PKGBUILD (rev 0)
+++ libhomfly/trunk/PKGBUILD 2016-08-04 20:03:30 UTC (rev 185102)
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 171251 2016-04-17 14:15:52Z arojas $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libhomfly
+pkgver=1.0
+pkgrel=1
+pkgdesc="Library to compute the homfly polynomial of a link"
+arch=(i686 x86_64)
+url="https://github.com/miguelmarco/libhomfly"
+license=(custom)
+depends=(gc)
+source=("https://github.com/miguelmarco/libhomfly/archive/$pkgver.tar.gz")
+md5sums=('3f9e6e0330f246e2bb9a1c5474256e82')
+
+build() {
+ cd $pkgname-$pkgver
+ autoreconf -vi
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list