aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-11-01 08:42:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-07 16:46:17 +0000
commit1c0c799fc059d898260344802d7fd9608a9986cf (patch)
tree7c80d60745ffd174d2d25210b626a7d1514e78f4
parentd1cb1435fb7594d1f0932bf45ef60fbea754fe4f (diff)
downloadaports-1c0c799fc059d898260344802d7fd9608a9986cf.tar.bz2
aports-1c0c799fc059d898260344802d7fd9608a9986cf.tar.xz
community/ffmpegthumbnailer: modernize
-rw-r--r--community/ffmpegthumbnailer/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/community/ffmpegthumbnailer/APKBUILD b/community/ffmpegthumbnailer/APKBUILD
index d8cb9cc8d2..eb3ace3c93 100644
--- a/community/ffmpegthumbnailer/APKBUILD
+++ b/community/ffmpegthumbnailer/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=ffmpegthumbnailer
pkgver=2.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="Lightweight video thumbnailer that can be used by file managers"
url="https://github.com/dirkvdb/ffmpegthumbnailer"
arch="all"
@@ -18,9 +18,10 @@ build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
-DENABLE_GIO=ON \
- -DENABLE_THUMBNAILER=ON . || return 1
- make || return 1
+ -DENABLE_THUMBNAILER=ON .
+ make
}
check() {
@@ -30,11 +31,7 @@ check() {
package() {
cd "$builddir"
-
- make DESTDIR="$pkgdir" install || return 1
- if [ -d "$pkgdir/usr/lib64" ]; then
- mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib
- fi
+ make DESTDIR="$pkgdir" install
}
md5sums="ed3754b3b8b9af93a93c490e17def0d0 ffmpegthumbnailer-2.2.0.tar.bz2"