[arch-commits] Commit in slurp/repos (community-x86_64 community-x86_64/PKGBUILD)
Brett Cornwall
ainola at archlinux.org
Wed Jan 2 02:56:25 UTC 2019
Date: Wednesday, January 2, 2019 @ 02:56:24
Author: ainola
Revision: 420251
archrelease: copy trunk to community-x86_64
Added:
slurp/repos/community-x86_64/
slurp/repos/community-x86_64/PKGBUILD
(from rev 420250, slurp/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: slurp/repos/community-x86_64/PKGBUILD (from rev 420250, slurp/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-01-02 02:56:24 UTC (rev 420251)
@@ -0,0 +1,25 @@
+# Maintainer: Ainola <ainola at archlinux.org>
+
+pkgname=slurp
+pkgver=1.0
+pkgrel=1
+pkgdesc='Select a region in a Wayland compositor'
+arch=('x86_64')
+url="https://github.com/emersion/slurp"
+license=('MIT')
+depends=('cairo' 'wayland')
+makedepends=('meson' 'scdoc' 'wayland-protocols')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/emersion/slurp/archive/v$pkgver.tar.gz")
+sha256sums=('41f3e98fa2729ae91d9f45e4d5e08023777b2cf3839e0cc0a7b2a5c53ebc4fd4')
+
+build() {
+ meson --prefix=/usr --buildtype=plain "$pkgname-$pkgver" build
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ cd "$pkgname-$pkgver"
+ install -Dm 0644 LICENSE -t "$pkgdir/usr/share/licenses/slurp/"
+ install -Dm 0644 README.md -t "$pkgdir/usr/share/doc/slurp/"
+}
More information about the arch-commits
mailing list