[arch-commits] Commit in editorconfig-core-c/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Aug 30 07:46:59 UTC 2020


    Date: Sunday, August 30, 2020 @ 07:46:58
  Author: arojas
Revision: 394911

archrelease: copy trunk to extra-x86_64

Added:
  editorconfig-core-c/repos/extra-x86_64/PKGBUILD
    (from rev 394910, editorconfig-core-c/trunk/PKGBUILD)
Deleted:
  editorconfig-core-c/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 28 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-30 07:46:50 UTC (rev 394910)
+++ PKGBUILD	2020-08-30 07:46:58 UTC (rev 394911)
@@ -1,36 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Matt Harrison <matt at harrison.us.com>
-# Contributor: Erik van der Kolk <developer at smerik dot nl>
-# Contributor: Hong Xu
-
-pkgname=editorconfig-core-c
-pkgver=0.12.3
-pkgrel=2
-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"
-license=(BSD)
-depends=(pcre2)
-makedepends=(cmake doxygen)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/editorconfig/${pkgname}/archive/v$pkgver.tar.gz")
-sha256sums=('64edf79500e104e47035cace903f5c299edba778dcff71b814b7095a9f14cbc1')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-
-  cmake ../$pkgname-$pkgver \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DCMAKE_INSTALL_LIBDIR=lib
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: editorconfig-core-c/repos/extra-x86_64/PKGBUILD (from rev 394910, editorconfig-core-c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-30 07:46:58 UTC (rev 394911)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Matt Harrison <matt at harrison.us.com>
+# Contributor: Erik van der Kolk <developer at smerik dot nl>
+# Contributor: Hong Xu
+
+pkgname=editorconfig-core-c
+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"
+license=(BSD)
+depends=(pcre2)
+makedepends=(cmake doxygen)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/editorconfig/${pkgname}/archive/v$pkgver.tar.gz")
+sha256sums=('c2671595f1793b498cdf50b9dc03d632cc724891de7909f2ea78588fbffba289')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+      -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list