[arch-commits] Commit in gnome-backgrounds/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Mar 13 14:41:16 UTC 2018


    Date: Tuesday, March 13, 2018 @ 14:41:16
  Author: bpiotrowski
Revision: 318799

3.27.90-1

Modified:
  gnome-backgrounds/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-13 14:30:59 UTC (rev 318798)
+++ PKGBUILD	2018-03-13 14:41:16 UTC (rev 318799)
@@ -2,34 +2,22 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-backgrounds
-pkgver=3.26.2
+pkgver=3.27.90
 pkgrel=1
 pkgdesc="Background images and data for GNOME"
 url="https://git.gnome.org/browse/gnome-backgrounds"
 arch=(any)
-makedepends=(git glib2 meson)
+makedepends=(glib2 meson)
 license=(GPL)
 groups=(gnome)
-_commit=ebb69030864690831b431a95dcea02dcd143815f  # tags/3.26.2^0
-source=("git+https://git.gnome.org/browse/gnome-backgrounds#commit=$_commit")
-sha256sums=('SKIP')
+source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('e52a2b217d34fae16d0c8d543f75fdad7290edbe71abdc47a44b563387b04723')
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  mkdir build
-}
-
 build() {
-  cd build
-  meson --prefix=/usr --buildtype=release ../$pkgname
-  ninja
+  arch-meson $pkgname-$pkgver build
+  ninja -C build
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" ninja -C build install
 }



More information about the arch-commits mailing list