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

Maxime Gauduin alucryd at gemini.archlinux.org
Tue Aug 23 09:45:19 UTC 2022


    Date: Tuesday, August 23, 2022 @ 09:45:19
  Author: alucryd
Revision: 454442

FS#74525: restore bash completion

Modified:
  x264/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-23 01:44:06 UTC (rev 454441)
+++ PKGBUILD	2022-08-23 09:45:19 UTC (rev 454442)
@@ -6,18 +6,15 @@
 
 pkgname=x264
 pkgver=0.164.r3095.baee400
-pkgrel=2
+pkgrel=3
 epoch=3
 pkgdesc='Open Source H264/AVC video encoder'
 arch=(x86_64)
 url=https://www.videolan.org/developers/x264.html
 license=(GPL)
-depends=(
-  liblsmash.so
-)
+depends=(liblsmash.so)
 makedepends=(
   git
-  l-smash
   nasm
 )
 provides=(
@@ -40,13 +37,11 @@
 
 pkgver() {
   cd x264
-
   ./version.sh | grep X264_POINTVER | sed -r 's/^#define X264_POINTVER "([0-9]+\.[0-9]+)\.([0-9]+) (.*)"$/\1.r\2.\3/'
 }
 
 build() {
   cd x264
-
   ./configure \
     --prefix=/usr \
     --enable-shared \
@@ -57,7 +52,7 @@
 }
 
 package() {
-  make -C x264 DESTDIR="${pkgdir}" install-cli install-lib-shared
+  make -C x264 DESTDIR="${pkgdir}" BASHCOMPLETIONSDIR="/usr/share/bash-completion/completions" install-cli install-lib-shared install-bashcompletion
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list