[arch-commits] Commit in libhomfly/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:47:11 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:47:10
  Author: felixonmars
Revision: 659408

archrelease: copy trunk to community-staging-x86_64

Added:
  libhomfly/repos/community-staging-x86_64/
  libhomfly/repos/community-staging-x86_64/PKGBUILD
    (from rev 659407, libhomfly/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: libhomfly/repos/community-staging-x86_64/PKGBUILD (from rev 659407, libhomfly/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:47:10 UTC (rev 659408)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libhomfly
+pkgver=1.02r6
+pkgrel=2
+pkgdesc="Library to compute the homfly polynomial of a link"
+arch=(x86_64)
+url="https://github.com/miguelmarco/libhomfly"
+license=(custom)
+depends=(gc)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/miguelmarco/libhomfly/archive/$pkgver.tar.gz")
+sha256sums=('cf5d5031c905318127c83fdffc891deb097c77ee48cdd0131f839ea6ecb64a84')
+
+build() {
+  cd $pkgname-$pkgver
+  autoreconf -vi
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
+



More information about the arch-commits mailing list