[arch-commits] Commit in orc/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 09:27:38 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:27:37
  Author: felixonmars
Revision: 383860

archrelease: copy trunk to staging-x86_64

Added:
  orc/repos/staging-x86_64/
  orc/repos/staging-x86_64/PKGBUILD
    (from rev 383858, orc/trunk/PKGBUILD)

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

Copied: orc/repos/staging-x86_64/PKGBUILD (from rev 383858, orc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:27:37 UTC (rev 383860)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=orc
+pkgver=0.4.31
+pkgrel=2
+pkgdesc="Optimized Inner Loop Runtime Compiler"
+url="https://gitlab.freedesktop.org/gstreamer/orc"
+arch=(x86_64)
+license=(custom)
+depends=(glibc)
+makedepends=(valgrind git gtk-doc meson)
+_commit=9901a96eaff271c2d3b595214213f6805ff803c8  # tags/0.4.31^0
+source=("git+https://gitlab.freedesktop.org/gstreamer/orc.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^orc-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
+}


More information about the arch-commits mailing list