diff options
author | xantares | 2015-06-08 21:46:38 +0200 |
---|---|---|
committer | xantares | 2015-06-08 21:46:38 +0200 |
commit | 4c8a1faf4eaa1a8871efd1e6f532502c3dc49231 (patch) | |
tree | 638f8013dcebdf333c52488e6754bb80b0997a0a | |
download | aur-4c8a1faf4eaa1a8871efd1e6f532502c3dc49231.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4193c6776201 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = coin-or-lemon + pkgdesc = A C++ template library providing many common graph algorithms + pkgver = 1.3.1 + pkgrel = 1 + url = http://lemon.cs.elte.hu/trac/lemon + arch = i686 + arch = x86_64 + groups = coin-or + license = BSD + makedepends = cmake + depends = coin-or-cbc + depends = coin-or-clp + depends = glpk + source = http://lemon.cs.elte.hu/pub/sources/lemon-1.3.1.tar.gz + sha1sums = b23d64c21b4b9088ad51e85316964a4a4138f82a + +pkgname = coin-or-lemon + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4dce386ba09e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=coin-or-lemon +pkgver=1.3.1 +pkgrel=1 +pkgdesc="A C++ template library providing many common graph algorithms" +arch=('i686' 'x86_64') +url="http://lemon.cs.elte.hu/trac/lemon" +license=('BSD') +groups=('coin-or') +depends=('coin-or-cbc' 'coin-or-clp' 'glpk') +makedepends=('cmake') +source=("http://lemon.cs.elte.hu/pub/sources/lemon-${pkgver}.tar.gz") +sha1sums=('b23d64c21b4b9088ad51e85316964a4a4138f82a') + +build() { + cd "$srcdir/lemon-$pkgver" + mkdir -p build && pushd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLEMON_ENABLE_GLPK=YES -DLEMON_ENABLE_ILOG=NO -DLEMON_ENABLE_COIN=YES \ + -DLEMON_ENABLE_SOPLEX=no -DGHOSTSCRIPT_EXECUTABLE= \ + -DDOXYGEN_EXECUTABLE= -DPYTHON_EXECUTABLE= .. + make +} + +package() { + cd "$srcdir/lemon-$pkgver/build" + make DESTDIR="$pkgdir/" install +} + |