# Contributor: Samuel Hunter # Maintainer: Anjandev Momi pkgname=slop pkgver=7.6 pkgrel=7 pkgdesc="Application that queries for a selection from the user and prints the region to stdout" url="https://github.com/naelstrof/slop" arch="all" license="MIT" makedepends=" cmake glew-dev glm-dev glu-dev icu-dev libice-dev libsm-dev libx11-dev libxext-dev libxrender-dev mesa-dev samurai " subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" source="$pkgname-$pkgver.tar.gz::https://github.com/naelstrof/slop/archive/v$pkgver.tar.gz" options="!check" # No tests build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=None \ $CMAKE_CROSSOPTS cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" d1abc50cad124cfb11e9b57c38c824efb2ece3dffce8e54e451ce4adc4a7ad441c6171b7df5d1c8dfa66c875a12cf07b206ba3b87229c0e5f2ddf744d7922fc3 slop-7.6.tar.gz "