diff options
author | Cassandra Watergate | 2022-12-01 17:17:08 +0200 |
---|---|---|
committer | Cassandra Watergate | 2022-12-01 17:17:08 +0200 |
commit | 65f36da9e044fcb31552aa10917433a203ff8b15 (patch) | |
tree | 7877da4cee2826dfe1b176b32de2e3ab5f89f1d5 | |
parent | 57e8e2c26100738addf29e7309ea7d6af9eb401f (diff) | |
download | aur-gnome-backgrounds-macos-git.tar.gz |
update to latest version
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 12 insertions, 7 deletions
@@ -1,11 +1,12 @@ pkgbase = gnome-backgrounds-macos-git pkgdesc = Background images for the GNOME desktop from MacOS - pkgver = r6.0cfa363 + pkgver = r21.b966043 pkgrel = 1 url = https://github.com/saltedcoffii/gnome-backgrounds-macos arch = any license = CCPL:by-sa license = GPL3 or any later version + license = custom makedepends = glib2 makedepends = meson makedepends = curl @@ -13,7 +14,7 @@ pkgbase = gnome-backgrounds-macos-git provides = gnome-backgrounds-git provides = gnome-backgrounds-macos conflicts = gnome-backgrounds-macos - source = git+https://github.com/saltedcoffii/gnome-backgrounds-macos.git + source = git+https://github.com/saltedcoffii/gnome-backgrounds-macos sha256sums = SKIP pkgname = gnome-backgrounds-macos-git @@ -2,25 +2,27 @@ _pkgname=gnome-backgrounds-macos pkgname=$_pkgname-git -pkgver=r6.0cfa363 +pkgver=r21.b966043 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') +license=('CCPL:by-sa' 'GPL3 or any later version' 'custom') provides=('gnome-backgrounds' 'gnome-backgrounds-git' 'gnome-backgrounds-macos') conflicts=('gnome-backgrounds-macos') -source=("git+$url.git") +source=("git+$url") sha256sums=('SKIP') pkgver() { - cd "$pkgname" + cd "$_pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { - $srcdir/$_pkgname/download-backgrounds.sh + cd $srcdir/$_pkgname + git submodule update --init + ./download-backgrounds.sh } build() { @@ -34,4 +36,6 @@ check() { package() { meson install -C build --destdir "$pkgdir" + + install -Dm644 $srcdir/$_pkgname/COPYING.md "${pkgdir}"/usr/share/licenses/$_pkgname/COPYING.md } |