Skip to content
Snippets Groups Projects
Commit 43df58a7 authored by Leo's avatar Leo
Browse files

community/editorconfig: use CMAKE_BUILD_TYPE=None

parent c696d09f
No related branches found
No related tags found
1 merge request!8287community/editorconfig: use CMAKE_BUILD_TYPE=None
......@@ -5,7 +5,7 @@ _pkgname=$pkgname-core-c
pkgver=0.12.3
_testname=editorconfig-core-test
_testver=0.12
pkgrel=0
pkgrel=1
pkgdesc="EditorConfig core library written in C (for use by plugins supporting EditorConfig parsing)"
url="https://github.com/editorconfig/editorconfig-core-c"
arch="all"
......@@ -13,7 +13,7 @@ license="BSD-2-Clause"
makedepends="cmake pcre2-dev"
subpackages="lib$pkgname:libs $pkgname-static $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/editorconfig/$_pkgname/archive/v$pkgver.tar.gz
https://github.com/editorconfig/$_testname/archive/v${_testver}.tar.gz
https://github.com/editorconfig/$_testname/archive/v$_testver.tar.gz
disable-failing-test.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
......@@ -21,13 +21,13 @@ builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
# Tests are taken from a github release tarball so place them in the tree
rmdir tests
mv ../${_testname}-${_testver} tests
mv ../$_testname-$_testver tests
default_prepare
}
build() {
cmake . \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_C_FLAGS_MINSIZEREL="$CFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
......
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