blob: 8c01450afafdbc07730eb7a3172b174ca8a3f27c (
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
32
33
34
35
36
|
# Maintainer: Cassandra Watergate (saltedcoffii) <cassandrawatergate@outlook.com>
_pkgname=gnome-backgrounds-macos
pkgname=$_pkgname
pkgver=43.0.0
pkgrel=1
pkgdesc="Background images for the GNOME desktop from MacOS"
url="https://github.com/saltedcoffii/gnome-backgrounds-macos"
arch=(any)
makedepends=('glib2' 'meson' 'curl')
license=('CCPL:by-sa' 'GPL3 or any later version' 'custom')
provides=('gnome-backgrounds' 'gnome-backgrounds-git' 'gnome-backgrounds-macos-git')
conflicts=('gnome-backgrounds-macos-git')
source=("git+${url}#tag=${pkgver}")
sha256sums=('SKIP')
prepare() {
cd $srcdir/$_pkgname
git submodule update --init
./download-backgrounds.sh
}
build() {
arch-meson $_pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
install -Dm644 $srcdir/$_pkgname/COPYING.md "${pkgdir}"/usr/share/licenses/$_pkgname/COPYING.md
}
|