mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 09:54:43 +02:00
30 lines
858 B
Text
30 lines
858 B
Text
# Contributor: Anil Madhavapeddy <anil@recoil.org>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=aspcud
|
|
pkgver=1.9.6
|
|
pkgrel=9
|
|
pkgdesc="Package dependency solver"
|
|
url="https://potassco.org/aspcud/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="clingo"
|
|
makedepends="boost-dev cmake re2c samurai"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/potassco/aspcud/archive/v$pkgver.tar.gz"
|
|
options="!check" # FIXME: run tests if possible!
|
|
|
|
build() {
|
|
cmake3.5 -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
a46183c2fd3b17881d48c3396164cded4b5214a2a8a31a499254533a8a71fb084a8b6f13ee1dc8eea72f7d9819caf2921f31a5ccc1cbd6611f9175e0bc10c14a aspcud-1.9.6.tar.gz
|
|
"
|