summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDet2017-07-29 22:19:30 +0300
committerDet2017-07-29 22:19:30 +0300
commitb355fa8667674bf828b0efbe095ed8446f1979e9 (patch)
treea0760cbd57913bd764d27f346ea7c9e02c06ea47
parentfb709943571e09fc2e61c6e84086a29f98e88924 (diff)
downloadaur-b355fa8667674bf828b0efbe095ed8446f1979e9.tar.gz
Fix build
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6d3839b4b62c..bbdca15209f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -103,7 +103,7 @@ package_libx264-all-git() {
pkgdesc="Library for encoding H264/AVC video streams (all depths) (Git)"
provides=('libx264-all')
conflicts=('libx264-all')
- _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3)
+ _ver=$(grep '#define X264_BUILD' "${_pkgname}"/x264.h | cut -d' ' -f3)
install -d "${pkgdir}"/usr/lib/x264