[arch-commits] Commit in libvarlink (3 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Thu Jan 7 14:24:30 UTC 2021


    Date: Thursday, January 7, 2021 @ 14:24:30
  Author: mtorromeo
Revision: 811942

archrelease: copy trunk to community-x86_64

Added:
  libvarlink/repos/
  libvarlink/repos/community-x86_64/
  libvarlink/repos/community-x86_64/PKGBUILD
    (from rev 811941, libvarlink/trunk/PKGBUILD)

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

Copied: libvarlink/repos/community-x86_64/PKGBUILD (from rev 811941, libvarlink/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2021-01-07 14:24:30 UTC (rev 811942)
@@ -0,0 +1,30 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: emersion <contact emersion fr>
+
+pkgname=libvarlink
+pkgver=19
+pkgrel=1
+license=('MIT')
+pkgdesc='Varlink C library and command line tool'
+makedepends=('meson')
+arch=('x86_64')
+url='https://github.com/varlink/libvarlink'
+source=("https://github.com/varlink/libvarlink/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('0e316138ef6abc34363b05d0caf6df2e389a93b832e8d971e3ae64b48ba96133')
+
+build() {
+  cd "$pkgname-$pkgver"
+  meson --prefix=/usr build/
+  ninja -C build/
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  ninja -C build/ test
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+  DESTDIR="$pkgdir/" ninja -C build/ install
+}



More information about the arch-commits mailing list