~alpine/aports

testing/slop: new aport v1 APPLIED

Samuel Hunter: 1
 testing/slop: new aport

 1 files changed, 35 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3176/mbox | git am -3
Learn more about email & git

[PATCH] testing/slop: new aport Export this patch

https://github.com/naelstrof/slop
Application that queries for a selection from the user and prints the region
to stdout

Signed-off-by: Samuel Hunter <samuelhunter1024@gmail.com>
---
 testing/slop/APKBUILD | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 testing/slop/APKBUILD

diff --git a/testing/slop/APKBUILD b/testing/slop/APKBUILD
new file mode 100644
index 0000000000..c993e87a5f
--- /dev/null
+++ b/testing/slop/APKBUILD
@@ -0,0 +1,35 @@
# Contributor: Samuel Hunter <samuelhunter1024@gmail.com>
# Maintainer: Samuel Hunter <samuelhunter1024@gmail.com>
pkgname="slop"
pkgver="7.4"
pkgrel=0
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"
depends="icu-libs libstdc++ libgcc musl libx11 libxext mesa-gl libxrender glew libxcb mesa-glapi libdrm libxfixes libxdamage libxxf86vm expat libxshmfence libxau libxdmcp libbsd"
makedepends="cmake icu-dev mesa-dev glew-dev glu-dev libice-dev libsm-dev libx11-dev libxext-dev libxrender-dev"
subpackages="$pkgname-dev $pkgname-doc"
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 \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
		${CMAKE_CROSSOPTS} .
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="13d09c2c9f05760ee0a273edb6d40da8a87989d3f071a8c868a0c7e535ba89b9eb934c79d56212cd689687f86e3683cef1b749ef7b37be3805ea8eb05c796e58  slop-7.4.tar.gz"
-- 
2.24.1