summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 731a9675e8439c2fd63c714b4e85cbbff6a288c5 (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
# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
pkgname=wbg
pkgver=1.2.0
pkgrel=1
pkgdesc="Wallpaper application for wlroots based Wayland compositors"
arch=('x86_64' 'aarch64')
url=https://codeberg.org/dnkl/${pkgname}
license=(mit)
makedepends=('meson' 'ninja' 'wayland-protocols' 'tllist')
depends=('wayland' 'pixman' 'libjpeg-turbo' 'libpng' 'libwebp')
source=(${url}/releases/download/${pkgver}/wbg-${pkgver}.tar.gz
        ${url}/releases/download/${pkgver}/wbg-${pkgver}.tar.gz.sig)
sha256sums=('a176576f3ca8d0494a5ce60a06970c093dcb46020ca678e5a327034ad8477a5e'
            'SKIP')
validpgpkeys=('B19964FBBA09664CC81027ED5BBD4992C116573F')

build() {
  cd ${pkgname}-${pkgver}

  meson --prefix=/usr --buildtype=release . build
  ninja -C build
}

package() {
  cd ${pkgname}-${pkgver}
  DESTDIR="${pkgdir}/" ninja -C build install
  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}