[arch-commits] Commit in gnome-font-viewer/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Mar 13 15:03:02 UTC 2018
Date: Tuesday, March 13, 2018 @ 15:03:01
Author: bpiotrowski
Revision: 318831
3.28.0-1
Modified:
gnome-font-viewer/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++---------------
1 file changed, 8 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-13 15:02:48 UTC (rev 318830)
+++ PKGBUILD 2018-03-13 15:03:01 UTC (rev 318831)
@@ -2,7 +2,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=gnome-font-viewer
-pkgver=3.26.0
+pkgver=3.28.0
pkgrel=1
pkgdesc="A font viewer utility for GNOME"
url="https://git.gnome.org/browse/gnome-font-viewer"
@@ -11,32 +11,25 @@
depends=(gtk3 gnome-desktop)
makedepends=(git meson)
groups=(gnome)
-_commit=b4dc10b30d66dce4302828cecef3969b7221f010 # tags/3.26.0^0
+_commit=ff2a81f3c71f1f6a970b079e9df8fefed88d96cd # tags/3.28.0^0
source=("git+https://git.gnome.org/browse/gnome-font-viewer#commit=$_commit")
sha256sums=('SKIP')
-check() {
- cd build
- meson test
-}
-
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
-prepare() {
- mkdir build
- cd $pkgname
+build() {
+ arch-meson $pkgname build
+ ninja -C build
}
-build() {
+check() {
cd build
- meson setup --prefix=/usr --buildtype=release ../$pkgname
- ninja
+ meson test
}
package() {
- cd build
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" ninja -C build install
}
More information about the arch-commits
mailing list