summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaltedcoffii2022-09-16 22:12:52 +0300
committersaltedcoffii2022-09-16 22:12:52 +0300
commita7d4e52d00602defae70eb8a160ab95983a9eca9 (patch)
tree3fd027b54e7e47e05dad3b8c660b26c2c4280e70
parentfe7eae991548444b1904a8770ac1e447e4769420 (diff)
downloadaur-a7d4e52d00602defae70eb8a160ab95983a9eca9.tar.gz
fix download script execution
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 57d861c076e7..b8de048a0c25 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gnome-backgrounds-macos-git
pkgdesc = Background images for the GNOME desktop from MacOS
pkgver = r6.0cfa363
- pkgrel = 0
+ pkgrel = 1
url = https://github.com/saltedcoffii/gnome-backgrounds-macos
arch = any
license = CCPL:by-sa
diff --git a/PKGBUILD b/PKGBUILD
index f1a7fb044ea7..78d3c7849e7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=gnome-backgrounds-macos
pkgname=$_pkgname-git
pkgver=r6.0cfa363
-pkgrel=0
+pkgrel=1
pkgdesc="Background images for the GNOME desktop from MacOS"
url="https://github.com/saltedcoffii/gnome-backgrounds-macos"
arch=(any)
@@ -14,8 +14,11 @@ conflicts=('gnome-backgrounds-macos')
source=("git+$url.git")
sha256sums=('SKIP')
-build() {
+prepare() {
$srcdir/$_pkgname/download-backgrounds.sh
+}
+
+build() {
arch-meson $_pkgname build
meson compile -C build
}