aboutsummaryrefslogblamecommitdiffstats
path: root/community/aspcud/APKBUILD
blob: a82991a5f80eda69388c7dae22c645afc8b4e253 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                  
        


                                      
                  






















                                                                                                                                                                         
# Contributor: Anil Madhavapeddy <anil@recoil.org>
# Maintainer: Anil Madhavapeddy <anil@recoil.org>
pkgname=aspcud
pkgver=1.9.1
pkgrel=1
pkgdesc="Package dependency solver"
url="http://potassco.sourceforge.net/"
arch="all"
license="LGPL-3.0"
depends="boost gringo clasp"
makedepends="boost-dev cmake re2c"
install=""
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/potassco/aspcud/${pkgver}/aspcud-${pkgver}-source.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver-source

build() {
	cd "$builddir"
	mkdir build
	cd build
	cmake .. -DGRINGO_LOC=/usr/bin/gringo -DCLASP_LOC=/usr/bin/clasp -DCMAKE_INSTALL_PREFIX=/usr || return 1
	make
}

package() {
	cd "${builddir}/build"
	make DESTDIR="${pkgdir}" install
}

md5sums="35304fecd1f832c74f028c06067db39d  aspcud-1.9.1-source.tar.gz"
sha256sums="e0e917a9a6c5ff080a411ff25d1174e0d4118bb6759c3fe976e2e3cca15e5827  aspcud-1.9.1-source.tar.gz"
sha512sums="61519b19b8f3080079dcfcfa32e28dbd1ed29de0012ac9753f8be2c08a087a2f1a6778a6ec2bdc208ddfec5f1a07cef339b4358e51f1714129c9d219989837af  aspcud-1.9.1-source.tar.gz"