diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-03-02 12:28:51 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-02 13:59:38 -0300 |
commit | f8e0b49828d88f0c562aa4d5fe86fe11790582d2 (patch) | |
tree | 9113648c1e48794b08f7922d5ccb61917da052b7 /community | |
parent | ed962b4edca29195bf1257ae4c4e4a52fc10caf5 (diff) | |
download | aports-f8e0b49828d88f0c562aa4d5fe86fe11790582d2.tar.bz2 aports-f8e0b49828d88f0c562aa4d5fe86fe11790582d2.tar.xz |
community/qimgv: modernize
Diffstat (limited to 'community')
-rw-r--r-- | community/qimgv/APKBUILD | 11 |
1 files 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 <thinkabit.ukim@gmail.com> 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() { |