summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracxz2019-10-25 22:13:17 -0400
committeracxz2019-10-25 22:13:17 -0400
commit5c4f6cc8a58f165afec01530e04a5fef3db40d52 (patch)
tree33faf9f1950e0d4c9087cca8f77d84afe6fda043
downloadaur-colpack.tar.gz
create colpack package
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD36
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d8ab9286464
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = colpack
+ pkgdesc = A Graph Coloring Algorithm Package
+ pkgver = 1.0.10
+ pkgrel = 1
+ url = https://cscapes.cs.purdue.edu/coloringpage
+ arch = x86_64
+ arch = i686
+ license = BSD-3
+ makedepends = cmake
+ depends = gcc
+ source = https://github.com/CSCsw/ColPack/archive/v1.0.10.tar.gz
+ sha256sums = b22ead7da80fa1735291b2d83198adf41bf36101e4fcb2c4f07c1cfacf211c75
+
+pkgname = colpack
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1a614f42df3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: acxz <akashpatel2008 at yahoo dot com>
+
+pkgname=colpack
+pkgver="1.0.10"
+pkgrel=1
+pkgdesc="A Graph Coloring Algorithm Package"
+arch=('x86_64' 'i686')
+url="https://cscapes.cs.purdue.edu/coloringpage"
+license=('BSD-3')
+depends=('gcc')
+optdepends=()
+makedepends=('cmake')
+_pkgname=ColPack
+source=(https://github.com/CSCsw/${_pkgname}/archive/v${pkgver}.tar.gz)
+sha256sums=('b22ead7da80fa1735291b2d83198adf41bf36101e4fcb2c4f07c1cfacf211c75')
+
+_buildtype="Release"
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ msg "Configuring"
+
+ autoreconf -vif
+ ./configure --prefix="/usr"
+
+ msg "Building the project"
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ msg "Installing files"
+ make DESTDIR="${pkgdir}/" install
+}