[arch-commits] Commit in libhomfly/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Oct 15 14:06:52 UTC 2017


    Date: Sunday, October 15, 2017 @ 14:06:51
  Author: arojas
Revision: 262908

Update to 1.02r3

Modified:
  libhomfly/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-15 14:04:23 UTC (rev 262907)
+++ PKGBUILD	2017-10-15 14:06:51 UTC (rev 262908)
@@ -2,8 +2,7 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=libhomfly
-pkgver=1.0.r2
-_pkgver=1.0r2
+pkgver=1.02r3
 pkgrel=1
 pkgdesc="Library to compute the homfly polynomial of a link"
 arch=(i686 x86_64)
@@ -10,17 +9,19 @@
 url="https://github.com/miguelmarco/libhomfly"
 license=(custom)
 depends=(gc)
-source=("http://mirrors.mit.edu/sage/spkg/upstream/libhomfly/$pkgname-$_pkgver.tar.gz")
-md5sums=('767dcfbccf17d5d076361d9633bb9e8e')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/miguelmarco/libhomfly/archive/$pkgver.tar.gz")
+sha256sums=('97323654356f2cf17b09e607ef531abbbecc3dbe46a77751de4f61c9a1941ae2')
 
 build() {
-  cd $pkgname-$_pkgver
+  cd $pkgname-$pkgver
+  autoreconf -vi
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $pkgname-$_pkgver
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }
 



More information about the arch-commits mailing list