From f8e0b49828d88f0c562aa4d5fe86fe11790582d2 Mon Sep 17 00:00:00 2001 From: Leo Date: Mon, 2 Mar 2020 12:28:51 -0300 Subject: community/qimgv: modernize --- community/qimgv/APKBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/community/qimgv/APKBUILD b/community/qimgv/APKBUILD index 6d578c4b46..9cf0009db6 100644 --- a/community/qimgv/APKBUILD +++ b/community/qimgv/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leo pkgname=qimgv pkgver=0.8.9 -pkgrel=0 +pkgrel=1 pkgdesc="Cross-platform image viewer with webm support" url="https://github.com/easymodo/qimgv" options="!check" @@ -14,19 +14,18 @@ subpackages="$pkgname-dev $pkgname-mpv" source="$pkgname-$pkgver.tar.gz::https://github.com/easymodo/qimgv/archive/v$pkgver.tar.gz" build() { - mkdir build && cd build - cmake .. \ + cmake -B build . \ + -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DEXIV2=ON \ -DVIDEO_SUPPORT=ON \ -DKDE_SUPPORT=OFF - cmake --build . + make -C build } package() { - cd "$builddir"/build - cmake --build . --target install -- DESTDIR="$pkgdir" + make -C build DESTDIR="$pkgdir" install } mpv() { -- cgit v1.2.3