summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f2f5100021179876b6b22a5439800538586e02b6 (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=dwxmlcreator
pkgver=1.0.13
_commit=8e2f4f1a4ba394e3d97ca062205b478089bc875c
pkgrel=1
pkgdesc='Dynamic wallpaper creator for GNU/Linux'
url="https://github.com/alexkdeveloper/dwxmlcreator"
license=('GPL-3.0-or-later')
arch=('x86_64' 'aarch64')
depends=('libadwaita')
makedepends=('git' 'meson' 'vala')
checkdepends=('appstream-glib')
source=("git+$url.git#commit=$_commit")
sha256sums=('SKIP')

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

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

package() {
  meson install -C build --destdir "$pkgdir"
  ln -s com.github.alexkdeveloper.$pkgname "$pkgdir/usr/bin/$pkgname"
}