[arch-commits] Commit in (4 files)

Jonas Witschel diabonas at gemini.archlinux.org
Sat Mar 12 10:59:08 UTC 2022


    Date: Saturday, March 12, 2022 @ 10:59:07
  Author: diabonas
Revision: 1149801

newpkg: mpv-mpris (MPRIS plugin for mpv)

Added:
  mpv-mpris/
  mpv-mpris/repos/
  mpv-mpris/trunk/
  mpv-mpris/trunk/PKGBUILD

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

Added: mpv-mpris/trunk/PKGBUILD
===================================================================
--- mpv-mpris/trunk/PKGBUILD	                        (rev 0)
+++ mpv-mpris/trunk/PKGBUILD	2022-03-12 10:59:07 UTC (rev 1149801)
@@ -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