[arch-commits] Commit in libliftoff/repos (2 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Tue Jan 11 16:18:44 UTC 2022


    Date: Tuesday, January 11, 2022 @ 16:18:44
  Author: alucryd
Revision: 1100571

archrelease: copy trunk to community-staging-x86_64

Added:
  libliftoff/repos/community-staging-x86_64/
  libliftoff/repos/community-staging-x86_64/PKGBUILD
    (from rev 1100570, libliftoff/trunk/PKGBUILD)

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

Copied: libliftoff/repos/community-staging-x86_64/PKGBUILD (from rev 1100570, libliftoff/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-01-11 16:18:44 UTC (rev 1100571)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Sefa Eyeoglu <contact at scrumplex.net>
+
+pkgname=libliftoff
+pkgver=0.1.0.r31.2e1dd93
+pkgrel=1
+pkgdesc='Lightweight KMS plane library'
+arch=(x86_64)
+url=https://gitlab.freedesktop.org/emersion/libliftoff
+license=(MIT)
+depends=(
+  glibc
+  libdrm
+)
+makedepends=(
+  git
+  meson
+)
+provides=(libliftoff.so)
+_commit=2e1dd93b60224e77f6a49ad8fb36d184e3a9a3bc
+source=(git+https://gitlab.freedesktop.org/emersion/libliftoff.git#commit=${_commit})
+b2sums=(SKIP)
+
+pkgver() {
+  cd libliftoff
+  git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./'
+}
+
+build() {
+  arch-meson libliftoff build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  DESTDIR="${pkgdir}" meson install -C build
+  install -Dm 644 libliftoff/LICENSE -t "${pkgdir}"/usr/share/licenses/libliftoff/
+  install -Dm 644 libliftoff/README.md -t "${pkgdir}"/usr/share/doc/libliftoff/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list