From a49b307e4e0274b6eef1a1a3119aa80e7e85a019 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Thu, 2 May 2019 20:56:28 +0200 Subject: testing/gnome-screenshot: new aport --- testing/gnome-screenshot/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/gnome-screenshot/APKBUILD (limited to 'testing/gnome-screenshot/APKBUILD') diff --git a/testing/gnome-screenshot/APKBUILD b/testing/gnome-screenshot/APKBUILD new file mode 100644 index 0000000000..fc3d481ead --- /dev/null +++ b/testing/gnome-screenshot/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Rasmus Thomsen +# Maintainer: Rasmus Thomsen +pkgname=gnome-screenshot +pkgver=3.32.0 +pkgrel=0 +pkgdesc="Screenshot capture utility for GNOME" +url="https://gitlab.gnome.org/GNOME/gnome-screenshot" +arch="all" +license="GPL-2.0-or-later" +depends="desktop-file-utils" +makedepends="meson libcanberra-dev glib-dev itstool appstream-glib-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="https://download.gnome.org/sources/gnome-screenshot/${pkgver%.*}/gnome-screenshot-${pkgver}.tar.xz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +check() { + ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="2747f3cc6ff6df6db6d64c9c13f7d7e3c0bf738cdace2850869c1158d23d02dd03b55e6704c9540f1e5b789626ea07741a0030ce3b06dd70c09f2fb2afa79c61 gnome-screenshot-3.32.0.tar.xz" -- cgit v1.2.3