diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-05-02 20:56:28 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-04 17:55:50 +0000 |
commit | a49b307e4e0274b6eef1a1a3119aa80e7e85a019 (patch) | |
tree | e4ad2c38de82f1b3c3faaae6ff120b0b5ed19117 /testing/gnome-screenshot/APKBUILD | |
parent | 4c2ab1fd564f84fddd312162cb95bbe28dff02b0 (diff) | |
download | aports-a49b307e4e0274b6eef1a1a3119aa80e7e85a019.tar.bz2 aports-a49b307e4e0274b6eef1a1a3119aa80e7e85a019.tar.xz |
testing/gnome-screenshot: new aport
Diffstat (limited to 'testing/gnome-screenshot/APKBUILD')
-rw-r--r-- | testing/gnome-screenshot/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +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" |