pkgname=ueberzugpp pkgver=2.7.8 pkgrel=1 pkgdesc="Command line util which allows to display images in combination with X11 written in C++" arch=("x86_64") url="https://github.com/jstkdng/ueberzugpp" license=("GPL3") makedepends=("cmake" "cli11") depends=("opencv" "libvips" "xcb-util-image" "nlohmann-json" "libsixel" "openssl" "spdlog" "zeromq" "fmt" "turbo-base64") source=("https://github.com/jstkdng/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=('3249f591db82c6e6c3faf4d590b3e30466667686057e982259cd1b27da48bd11') provides=("ueberzug") conflicts=("ueberzug") build() { cmake -B build -S "$pkgname-$pkgver" \ -DCMAKE_BUILD_TYPE='None' \ -DCMAKE_INSTALL_PREFIX='/usr' \ -DENABLE_TURBOBASE64=ON \ -Wno-dev cmake --build build -j $(nproc) } package() { DESTDIR="$pkgdir" cmake --install build ln -s "/usr/bin/ueberzug" "$pkgdir/usr/bin/ueberzugpp" } # vim:set ts=2 sw=2 et: