[arch-commits] Commit in mcqd/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Dec 20 20:45:21 UTC 2017
Date: Wednesday, December 20, 2017 @ 20:45:20
Author: arojas
Revision: 275077
Rebuild old package, use gitlab sources
Modified:
mcqd/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-20 20:41:03 UTC (rev 275076)
+++ PKGBUILD 2017-12-20 20:45:20 UTC (rev 275077)
@@ -2,24 +2,24 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=mcqd
-pkgver=1.0
-pkgrel=3
+pkgver=1.0.0
+pkgrel=1
pkgdesc="Maximum Clique Algorithm for finding a maximum clique in an undirected graph"
-arch=('x86_64')
+arch=(x86_64)
url="http://www.sicmm.org/~konc/maxclique/"
-license=('GPL3')
-depends=('gcc-libs')
-source=("http://www.sicmm.org/~konc/maxclique/mcqd.zip")
-md5sums=('356d9f3312bc5f15fb9d893990011c6e')
+license=(GPL3)
+depends=(gcc-libs)
+source=("https://gitlab.com/janezkonc/mcqd/repository/v$pkgver/archive.tar.gz")
+sha256sums=('292931d9c302099d4f00e8cac1af9197f1fb8807cdef922fede525a6e8a49184')
build() {
- cd $pkgname
+ cd $pkgname-v$pkgver-*
g++ -O3 mcqd.cpp -o mcqd
}
package() {
- cd $pkgname
+ cd $pkgname-v$pkgver-*
install -Dm755 mcqd "$pkgdir"/usr/bin/mcqd
install -Dm644 mcqd.h "$pkgdir"/usr/include/mcqd.h
More information about the arch-commits
mailing list