archrelease: copy trunk to community-any
[ArchLinux/community.git] / fuzzel / trunk / PKGBUILD
blob9b6d874d0aff65d3e0472dba62ae947ba931c6c3
1 # Maintainer: Caleb Maclennan <caleb@alerque.com>
2 # Contributor: Daniel Eklöf <daniel at ekloef dot se>
4 pkgname=fuzzel
5 pkgver=1.9.1
6 pkgrel=1
7 pkgdesc='Application launcher for wlroots based Wayland compositors'
8 url="https://codeberg.org/dnkl/$pkgname"
9 arch=(x86_64)
10 license=(MIT)
11 depends=(cairo
12          fcft
13          fontconfig
14          libfcft.so
15          libpng
16          libxkbcommon
17          pixman
18          wayland) # nanosvg is bundled
19 makedepends=(meson
20              scdoc
21              tllist
22              wayland-protocols)
23 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
24 sha256sums=('dac5f0017aaa4e41835e9145dbdaa52a6eb1c8c61306766a9f1df3824487339a')
26 build() {
27         cd "$pkgname"
28         arch-meson \
29                 -Denable-cairo=enabled \
30                 -Dpng-backend=libpng \
31                 -Dsvg-backend=nanosvg \
32                 . build
33         meson compile -C build
36 package() {
37         cd "$pkgname"
38         meson install -C build --destdir "$pkgdir"
39         install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE