[arch-commits] Commit in mpv/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Thu Oct 10 20:10:05 UTC 2019


    Date: Thursday, October 10, 2019 @ 20:10:05
  Author: eworm
Revision: 514541

upgpkg: mpv 1:0.29.1-11

install lua scripts (FS#50606)

Modified:
  mpv/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-10 20:09:04 UTC (rev 514540)
+++ PKGBUILD	2019-10-10 20:10:05 UTC (rev 514541)
@@ -5,7 +5,7 @@
 pkgname=mpv
 epoch=1
 pkgver=0.29.1
-pkgrel=10
+pkgrel=11
 _waf_version=2.0.9
 pkgdesc='a free, open source, and cross-platform media player'
 arch=('x86_64')
@@ -37,7 +37,7 @@
   patch -Np1 < ../0001-libarchive-add-fallback-for-systems-without-C-UTF-8.patch
   patch -Np1 < ../0002-build-lower-version-requirement-for-EGL.patch
 
-  install -m755 "${srcdir}"/waf-${_waf_version} waf
+  install -m0755 "${srcdir}"/waf-${_waf_version} waf
 }
 
 build() {
@@ -62,6 +62,9 @@
 
   ./waf install --destdir="$pkgdir"
 
-  install -m644 DOCS/{encoding.rst,tech-overview.txt} \
+  install -m0644 DOCS/{encoding.rst,tech-overview.txt} \
     "$pkgdir"/usr/share/doc/mpv
+
+  install -m0644 TOOLS/lua/* \
+    -D -t "$pkgdir"/usr/share/mpv/scripts
 }



More information about the arch-commits mailing list