diff options
author | Daniel Bermond | 2018-04-20 17:42:34 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-04-20 18:26:02 +0000 |
commit | db846311d8a592765b843d5eac6cf0dde4e7cf6f (patch) | |
tree | 09f117be624bd53be676826fe86a0051b2ac8fe3 /PKGBUILD | |
parent | 3e515800585029eb4b0f5d9d3eb3b957d82a0c98 (diff) | |
download | aur-db846311d8a592765b843d5eac6cf0dde4e7cf6f.tar.gz |
pkgdesc: update description to match official repositories
Also on this commit:
- Cosmetic changes: place prepare() before pkgver()
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -1,9 +1,9 @@ # Maintainer: Daniel Bermond < yahoo-com: danielbermond > pkgname=ffmpeg-full-git -pkgver=3.5.r90731.g62bdbb5ce0 +pkgver=3.5.r90793.g30940be359 pkgrel=1 -pkgdesc='Record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac; git version)' +pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac; git version)' arch=('i686' 'x86_64') url='http://www.ffmpeg.org/' license=('custom: nonfree and unredistributable') @@ -55,6 +55,14 @@ source=("$pkgname"::'git://source.ffmpeg.org/ffmpeg.git' sha256sums=('SKIP' '04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36') +prepare() { + cd "$pkgname" + + # strictly specifying nvcc path is needed if package is installing + # cuda for the first time (nvcc path will be in $PATH only after relogin) + sed -i "s|^nvcc_default=.*|nvcc_default='/opt/cuda/bin/nvcc'|" configure +} + pkgver() { cd "$pkgname" @@ -65,14 +73,6 @@ pkgver() { printf '%s.r%s.g%s' "$_version" "$_revision" "$_shorthash" } -prepare() { - cd "$pkgname" - - # strictly specifying nvcc path is needed if package is installing - # cuda for the first time (nvcc path will be in $PATH only after relogin) - sed -i "s|^nvcc_default=.*|nvcc_default='/opt/cuda/bin/nvcc'|" configure -} - build() { cd "$pkgname" |