blob: c675f2900e9741137444227b432cb800f4b5754d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: John FrostFox <john.frostfox at gmail dot com>
pkgname=recapp-git
pkgver=1.1.0.r0.g65d6ef1
pkgrel=1
pkgdesc="Simple screen recorder for Linux written in GTK, using only GStreamer."
arch=('any')
url="https://github.com/amikha1lov/RecApp"
license=('GPL3')
depends=('gst-plugins-base' 'gst-plugins-good' 'hicolor-icon-theme' 'python-pydbus' 'slop' 'python-pulse-control')
optdepends=('gst-plugins-bad: for MP4 recording'
'gst-plugins-ugly: for MP4 recording')
makedepends=('meson' 'ninja' 'git' 'intltool' 'appstream-glib' 'desktop-file-utils' 'python')
source=(${pkgname}::'git+'${url}'.git')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g;s/rc.\.//'
}
build() {
cd "${srcdir}/${pkgname}"
arch-meson --buildtype=plain build
ninja -C build
}
check() {
cd "${srcdir}/${pkgname}"
arch-meson check
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
DESTDIR="$pkgdir" ninja -C build install
}
|