aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-09-03 18:13:49 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-09-08 13:40:27 +0200
commit8b5b479f45a87aaa9a2143a45899a7a06154c6c9 (patch)
tree8fbae5725b4d5fc9c7bf99f02903a0b379407f0d
parentfb46518354ec7f93e99d454010c133be2db27d33 (diff)
downloadaports-8b5b479f45a87aaa9a2143a45899a7a06154c6c9.tar.bz2
aports-8b5b479f45a87aaa9a2143a45899a7a06154c6c9.tar.xz
community/ffmpegthumbnailer: replace $_builddir with $builddir
-rw-r--r--community/ffmpegthumbnailer/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/ffmpegthumbnailer/APKBUILD b/community/ffmpegthumbnailer/APKBUILD
index 98faaf3f46..15727b4d1f 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