[arch-commits] Commit in mpv-mpris/repos (community-x86_64 community-x86_64/PKGBUILD)

Jonas Witschel diabonas at gemini.archlinux.org
Sat Mar 12 11:08:07 UTC 2022


    Date: Saturday, March 12, 2022 @ 11:08:07
  Author: diabonas
Revision: 1149812

archrelease: copy trunk to community-x86_64

Added:
  mpv-mpris/repos/community-x86_64/
  mpv-mpris/repos/community-x86_64/PKGBUILD
    (from rev 1149811, mpv-mpris/trunk/PKGBUILD)

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

Copied: mpv-mpris/repos/community-x86_64/PKGBUILD (from rev 1149811, mpv-mpris/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2022-03-12 11:08:07 UTC (rev 1149812)
@@ -0,0 +1,29 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=mpv-mpris
+pkgver=0.7
+pkgrel=2
+pkgdesc='MPRIS plugin for mpv'
+arch=('x86_64')
+url='https://github.com/hoyon/mpv-mpris'
+license=('MIT')
+depends=('glib2' 'mpv')
+checkdepends=('jq' 'playerctl' 'socat' 'sound-theme-freedesktop' 'xorg-server-xvfb')
+options=('debug')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
+sha512sums=('b370c9550622302cfdd07c21ae2f03a4e66e80da02e8f38c68d447ef273ae582ad6d918e207a9fb8c917a851163c6aadc08d3d68ad8e70ec85b37732c0cac96f')
+
+build() {
+	cd "$pkgname-$pkgver"
+	make
+}
+
+check() {
+	cd "$pkgname-$pkgver"
+	make test
+}
+
+package() {
+	cd "$pkgname-$pkgver"
+	make PREFIX=/usr DESTDIR="$pkgdir" install
+	install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list