summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9dd7c5c46af87b68160594ba0a879b68b4fc728a (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
# Contributor: Balló György <ballogyor+arch at gmail dot com>

pkgname=forklift-git
pkgver=r36.da760ae
pkgrel=1
pkgdesc='Simple GUI for youtube-dl using PyGObject'
arch=('any')
url='https://github.com/Johnn3y/Forklift'
license=('GPL3')
depends=('gtk3' 'libdazzle' 'libhandy0' 'python-gobject' 'youtube-dl')
makedepends=('appstream-glib' 'git' 'meson')
source=("git+https://github.com/Johnn3y/Forklift")
sha256sums=('SKIP')

pkgver() {
  cd Forklift
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

check() {
  meson test -C build --print-errorlogs || :
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}