Skip to content
Snippets Groups Projects
Commit 24b5bc0b authored by alice's avatar alice
Browse files

community/sdcv: build with samurai

parent 295a4464
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,12 @@
# Maintainer: Sodface <sod@sodface.com>
pkgname=sdcv
pkgver=0.5.3
pkgrel=0
pkgrel=1
pkgdesc="Console version of StarDict"
url="https://dushistov.github.io/sdcv/"
license="GPL-2.0-or-later"
arch="all"
makedepends="cmake glib-dev readline-dev zlib-dev"
makedepends="cmake glib-dev readline-dev samurai zlib-dev"
checkdepends="jq"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/Dushistov/sdcv/archive/v$pkgver.tar.gz"
......@@ -16,7 +16,7 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_TESTS=True \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment