summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58258350cffb51b391bf51bb1134d9f1ed2b1ddd (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
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>

pkgname=footage
pkgdesc="Trim, flip, rotate and crop individual clips. Footage is a useful tool for quickly editing short videos and screencasts. It's also capable of exporting any video into a format of your choice"
pkgver=1.1
pkgrel=1
arch=('any')
url="https://gitlab.com/adhami3310/Footage"
license=('GPL3')
depends=('gst-editing-services' 'libadwaita')
makedepends=('blueprint-compiler' 'cargo' 'git' 'meson')
checkdepends=('appstream-glib')
source=("git+$url.git#tag=v$pkgver")
sha256sums=('SKIP')

build() {
  arch-meson Footage build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlog
}

package() {
  DESTDIR="$pkgdir" meson install -C build
  install -Dm644 Footage/README.md -t "$pkgdir/usr/share/doc/$_pkgname"
  install -Dm644 Footage/COPYING -t "$pkgdir/usr/share/licenses/$_pkgname"
}