summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcaltlgin2020-06-28 19:29:04 +1200
committercaltlgin2020-06-28 19:29:04 +1200
commit8f70c481a6fcc403a822dbaf9b6618a12e03a499 (patch)
treeee2a67fd8e416e9c91182514febcfdfcc7e3b048 /PKGBUILD
parente641bedc28149a625e26e4912853fd043d0bbafc (diff)
downloadpackages-8f70c481a6fcc403a822dbaf9b6618a12e03a499.tar.gz
packages-8f70c481a6fcc403a822dbaf9b6618a12e03a499.tar.bz2
packages-8f70c481a6fcc403a822dbaf9b6618a12e03a499.zip
Patch ffmpeg_version: Handle "n" prefix until next upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7fb384a..8f743e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,11 @@ makedepends=('python-setuptools')
12source=("${url}/archive/${pkgver}.tar.gz") 12source=("${url}/archive/${pkgver}.tar.gz")
13sha256sums=('ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f') 13sha256sums=('ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f')
14 14
15prepare() {
16 # https://github.com/lagmoellertim/unsilence/commit/30581844096967a736cc0ea8e17abb3dbd8f81ee
17 sed -i 's/ffmpeg version /ffmpeg version \\D\?/' "${pkgname}-${pkgver}/unsilence/lib/tools/ffmpeg_version.py"
18}
19
15build() { 20build() {
16 cd "${pkgname}-${pkgver}" 21 cd "${pkgname}-${pkgver}"
17 python setup.py build 22 python setup.py build