[arch-commits] Commit in wf-recorder/repos (2 files)
Brett Cornwall
ainola at archlinux.org
Fri Jun 19 00:20:11 UTC 2020
Date: Friday, June 19, 2020 @ 00:20:07
Author: ainola
Revision: 647583
archrelease: copy trunk to community-x86_64
Added:
wf-recorder/repos/community-x86_64/
wf-recorder/repos/community-x86_64/PKGBUILD
(from rev 647582, wf-recorder/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: wf-recorder/repos/community-x86_64/PKGBUILD (from rev 647582, wf-recorder/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-06-19 00:20:07 UTC (rev 647583)
@@ -0,0 +1,37 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Lennard Hofmann
+
+pkgname=wf-recorder
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="Screen recorder for wlroots-based compositors such as sway"
+arch=("x86_64")
+url="https://github.com/ammen99/wf-recorder"
+license=('MIT')
+depends=(
+ 'ffmpeg'
+ 'ocl-icd'
+)
+makedepends=(
+ 'meson'
+ 'opencl-headers'
+ 'scdoc'
+ 'wayland-protocols'
+)
+optdepends=(
+ 'slurp: Select a region to record'
+)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ammen99/wf-recorder/archive/v$pkgver.tar.gz")
+sha256sums=('45cf04cf58cf241c22fa2fbb70481a3747ad33e6930e4bdba7b9cc7018789ad1')
+
+build() {
+ meson "$pkgname-$pkgver" build \
+ --prefix=/usr \
+ --buildtype=plain
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir/" ninja -C build install
+ install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list