summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f102325bab36b7a17d3d2bd2f2028f746abf95f (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
# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>

pkgname=banner-viewer
pkgver=0.0.1
pkgrel=1
pkgdesc="View and edit GNOME Software banners"
arch=('any')
url="https://gitlab.gnome.org/World/design/$pkgname"
license=('GPL')
depends=('gtk3' 'glib2' 'gdk-pixbuf2' 'libhandy' 'gtksourceview3')
makedepends=('git' 'meson' 'rust')
source=("https://gitlab.gnome.org/World/design/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('SKIP') #autofill using updpkgsums

build() {
  arch-meson "$pkgname-$pkgver" build
  meson compile -C build
}

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

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