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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:11:34 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:11:34
  Author: felixonmars
Revision: 658362

archrelease: copy trunk to community-staging-x86_64

Added:
  lrcalc/repos/community-staging-x86_64/
  lrcalc/repos/community-staging-x86_64/PKGBUILD
    (from rev 658361, lrcalc/trunk/PKGBUILD)

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

Copied: lrcalc/repos/community-staging-x86_64/PKGBUILD (from rev 658361, lrcalc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:11:34 UTC (rev 658362)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=lrcalc
+pkgver=1.2
+pkgrel=4
+pkgdesc="Littlewood-Richardson calculator"
+arch=(x86_64)
+url="https://math.rutgers.edu/~asbuch/lrcalc/"
+license=(GPL2)
+depends=(glibc)
+source=("https://math.rutgers.edu/~asbuch/lrcalc/$pkgname-$pkgver.tar.gz"
+	fix-include-syntax.patch::"https://bitbucket.org/asbuch/lrcalc/commits/226981a0/raw/")
+sha256sums=('792dd538a0d19698be2c5b8c138730bbb4820e8a44e03b001ae14bd5f1d7040b'
+            'd136bbf00b7f4427f1b7dc48f4dc5bc830e3af018c3bc44454c9dfb730f9acfa')
+
+prepare() {
+  cd $pkgname-$pkgver
+# Fix include syntax
+  patch -p1 -i ../fix-include-syntax.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+}


More information about the arch-commits mailing list