summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoracxz2019-10-25 22:13:17 -0400
committeracxz2019-10-25 22:13:17 -0400
commit5c4f6cc8a58f165afec01530e04a5fef3db40d52 (patch)
tree33faf9f1950e0d4c9087cca8f77d84afe6fda043 /PKGBUILD
downloadaur-colpack.tar.gz
create colpack package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
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
+}