diff options
-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 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 |