summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2019-11-26 08:25:14 +0100
committerMaxime Gauduin2019-11-26 08:25:14 +0100
commitb4a95da31b8d9542fa8a391956cbe2e3a4ea5b70 (patch)
treea07e3d7eec4cf96e1cb8aaad84404875e53d858b
parent5fec4fecd26c16347c5550b2482ea04a2ac8a009 (diff)
downloadaur-elementary-wallpapers-git.tar.gz
use meson
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD18
2 files changed, 13 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e83f39aa891..6b922a508f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = elementary-wallpapers-git
pkgdesc = Collection of wallpapers for elementary OS
- pkgver = r112.6c81141
+ pkgver = r124.47b25c2
pkgrel = 1
url = https://github.com/elementary/wallpapers
arch = any
groups = pantheon-unstable
license = GPL3
makedepends = git
+ makedepends = meson
provides = elementary-wallpapers
conflicts = elementary-wallpapers
source = elementary-wallpapers::git+https://github.com/elementary/wallpapers.git
diff --git a/PKGBUILD b/PKGBUILD
index b4fcd06f2e4..cd4cb825c4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,17 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=elementary-wallpapers-git
-pkgver=r112.6c81141
+pkgver=r124.47b25c2
pkgrel=1
pkgdesc='Collection of wallpapers for elementary OS'
arch=(any)
url=https://github.com/elementary/wallpapers
license=(GPL3)
groups=(pantheon-unstable)
-makedepends=(git)
+makedepends=(
+ git
+ meson
+)
provides=(elementary-wallpapers)
conflicts=(elementary-wallpapers)
source=(elementary-wallpapers::git+https://github.com/elementary/wallpapers.git)
@@ -20,12 +23,13 @@ pkgver() {
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
-package() {
- cd elementary-wallpapers
+build() {
+ arch-meson elementary-wallpapers build
+ ninja -C build
+}
- install -dm 755 "${pkgdir}"/usr/share/backgrounds/elementary
- install -m 644 *.jpg "${pkgdir}"/usr/share/backgrounds/elementary/
- ln -s 'elementary/Ashim DSilva.jpg' "${pkgdir}"/usr/share/backgrounds/elementaryos-default
+package() {
+ DESTDIR="${pkgdir}" ninja -C build install
}
# vim: ts=2 sw=2 et: