diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2016-09-03 18:13:49 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-09-08 13:40:27 +0200 |
commit | 8b5b479f45a87aaa9a2143a45899a7a06154c6c9 (patch) | |
tree | 8fbae5725b4d5fc9c7bf99f02903a0b379407f0d /community/ffmpegthumbnailer | |
parent | fb46518354ec7f93e99d454010c133be2db27d33 (diff) | |
download | aports-8b5b479f45a87aaa9a2143a45899a7a06154c6c9.zip |
community/ffmpegthumbnailer: replace $_builddir with $builddir
Diffstat (limited to 'community/ffmpegthumbnailer')
-rw-r--r-- | community/ffmpegthumbnailer/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/community/ffmpegthumbnailer/APKBUILD b/community/ffmpegthumbnailer/APKBUILD index 98faaf3f466..15727b4d1fb 100644 --- a/community/ffmpegthumbnailer/APKBUILD +++ b/community/ffmpegthumbnailer/APKBUILD @@ -10,11 +10,11 @@ license="GPLv2" makedepends="$depends_dev ffmpeg-dev libpng-dev libjpeg-turbo-dev cmake" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.bz2::https://github.com/dirkvdb/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2" +builddir="$srcdir"/$pkgname-$pkgver -_builddir="$srcdir"/$pkgname-$pkgver prepare() { local i - cd "$_builddir" + cd "$builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -23,13 +23,13 @@ prepare() { } build() { - cd "$_builddir" + cd "$builddir" cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_GIO=ON -DENABLE_THUMBNAILER=ON . || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 if [ -d "$pkgdir/usr/lib64" ]; then mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib |