[arch-commits] Commit in editorconfig-core-c/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 09:54:55 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:54:55
  Author: foutrelis
Revision: 383980

archrelease: copy trunk to staging-x86_64

Added:
  editorconfig-core-c/repos/staging-x86_64/
  editorconfig-core-c/repos/staging-x86_64/PKGBUILD
    (from rev 383979, editorconfig-core-c/trunk/PKGBUILD)

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

Copied: editorconfig-core-c/repos/staging-x86_64/PKGBUILD (from rev 383979, editorconfig-core-c/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:54:55 UTC (rev 383980)
@@ -0,0 +1,36 @@
+# 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
+}


More information about the arch-commits mailing list