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

Christian Hesse eworm at archlinux.org
Fri Oct 16 05:54:26 UTC 2020


    Date: Friday, October 16, 2020 @ 05:54:25
  Author: eworm
Revision: 724316

build from signed git tag (FS#68267)

Modified:
  mpv/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-16 04:15:17 UTC (rev 724315)
+++ PKGBUILD	2020-10-16 05:54:25 UTC (rev 724316)
@@ -4,6 +4,7 @@
 
 pkgname=mpv
 epoch=1
+_tag='d81133141f052187016a8cb4cf034c35ba39e0ba' # git rev-parse v${pkgver}
 pkgver=0.32.0
 pkgrel=4
 pkgdesc='a free, open source, and cross-platform media player'
@@ -17,16 +18,17 @@
          'libxinerama' 'libxkbcommon' 'libxrandr' 'libxss' 'libxv' 'lua52'
          'librubberband.so' 'smbclient' 'uchardet' 'vulkan-icd-loader' 'wayland'
          'xdg-utils' 'shaderc' 'mujs' 'libplacebo' 'libplacebo.so')
-makedepends=('mesa' 'python-docutils' 'ladspa' 'wayland-protocols'
+makedepends=('git' 'mesa' 'python-docutils' 'ladspa' 'wayland-protocols'
              'ffnvcodec-headers' 'vulkan-headers' 'waf')
 optdepends=('youtube-dl: for video-sharing websites playback')
 provides=('libmpv.so')
 options=('!emptydirs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('9163f64832226d22e24bbc4874ebd6ac02372cd717bef15c28a0aa858c5fe592')
+validpgpkeys=('145077D82501AA20152CACCE8D769208D5E31419') # sfan5 <sfan5 at live.de>
+source=("git+https://github.com/mpv-player/mpv.git#tag=${_tag}?signed")
+sha256sums=('SKIP')
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname}
 
   waf configure --prefix=/usr \
     --confdir=/etc/mpv \
@@ -42,7 +44,7 @@
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname}
 
   waf install --destdir="$pkgdir"
 



More information about the arch-commits mailing list