diff options
author | Adrian Petrescu | 2017-09-05 09:55:35 -0400 |
---|---|---|
committer | Adrian Petrescu | 2017-09-05 09:55:35 -0400 |
commit | 94b7bde91acd117d8d3d32e7c95072f634c86c66 (patch) | |
tree | 9ad1144fe0fcfc1902ffa754e4fa08369215032d | |
download | aur-94b7bde91acd117d8d3d32e7c95072f634c86c66.tar.gz |
Initial commit of benzene-mohex
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1d7c67ec6b09 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = benzene-mohex + pkgdesc = Computer Hex engine by UAlberta. Winner of 2015 ICGA Olympiad. + pkgver = 1.0.1 + pkgrel = 1 + url = http://benzene.sourceforge.net + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = boost + depends = boost-libs + depends = db + source = https://github.com/apetresc/benzene-mohex/archive/v1.0.1.tar.gz + source = https://github.com/apetresc/fuego/archive/v1.1.tar.gz + md5sums = 517c202987706c6f3dd70dbf57fe67fa + md5sums = 90a3e6c46f5a418f9fe5bdab46ca6b90 + +pkgname = benzene-mohex + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..87eb7c078748 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor: Adrian Petrescu <apetresc@gmail.com> +# Maintainer: Adrian Petrescu <apetresc@gmail.com> + +pkgname=benzene-mohex +pkgver=1.0.1 +pkgrel=1 +pkgdesc='Computer Hex engine by UAlberta. Winner of 2015 ICGA Olympiad.' +arch=('i686' 'x86_64') +url='http://benzene.sourceforge.net' +license=('GPL3') +depends=('boost-libs' 'db') +makedepends=('boost') +source=("https://github.com/apetresc/$pkgname/archive/v$pkgver.tar.gz" + 'https://github.com/apetresc/fuego/archive/v1.1.tar.gz') +md5sums=('517c202987706c6f3dd70dbf57fe67fa' + '90a3e6c46f5a418f9fe5bdab46ca6b90') + +build() { + cd fuego-1.1/ + autoreconf -i + ./configure + make + + cd ../$pkgname-$pkgver/ + autoreconf -i + ./configure --with-fuego-root=$(pwd)/../fuego-1.1/ + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + mkdir -p $pkgdir/usr/bin + + cp $srcdir/$pkgname-$pkgver/src/mohex/mohex $pkgdir/usr/bin/mohex +} + |