Date: Sunday, August 30, 2020 @ 07:46:50 Author: arojas Revision: 394910
Update to 0.12.4 Modified: editorconfig-core-c/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-08-30 07:33:54 UTC (rev 394909) +++ PKGBUILD 2020-08-30 07:46:50 UTC (rev 394910) @@ -4,8 +4,8 @@ # Contributor: Hong Xu pkgname=editorconfig-core-c -pkgver=0.12.3 -pkgrel=2 +pkgver=0.12.4 +pkgrel=1 pkgdesc="EditorConfig core code written in C (for use by plugins supporting EditorConfig parsing)" arch=(x86_64) url="https://github.com/editorconfig/editorconfig-core-c" @@ -13,24 +13,16 @@ depends=(pcre2) makedepends=(cmake doxygen) source=($pkgname-$pkgver.tar.gz::"https://github.com/editorconfig/${pkgname}/archive/v$pkgver.tar.gz") -sha256sums=('64edf79500e104e47035cace903f5c299edba778dcff71b814b7095a9f14cbc1') +sha256sums=('c2671595f1793b498cdf50b9dc03d632cc724891de7909f2ea78588fbffba289') -prepare() { - mkdir -p build -} - build() { - cd build - - cmake ../$pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib - make + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr + cmake --build build } package() { - cd build - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" cmake --install build - install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname }