[arch-commits] Commit in gnome-dictionary/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Jan 18 09:39:25 UTC 2018
Date: Thursday, January 18, 2018 @ 09:39:24
Author: heftig
Revision: 315057
FS#57108 gnome groups
Modified:
gnome-dictionary/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-18 09:38:40 UTC (rev 315056)
+++ PKGBUILD 2018-01-18 09:39:24 UTC (rev 315057)
@@ -10,16 +10,11 @@
license=(GPL2)
depends=(dconf gtk3)
makedepends=(itstool docbook-xsl gtk-doc yelp-tools git gobject-introspection meson appstream-glib)
-groups=(gnome)
+groups=(gnome-extra)
_commit=2b351e832e28782b465176b055ba38fe007df40d # tags/3.26.1^0
source=("git+https://git.gnome.org/browse/gnome-dictionary#commit=$_commit")
sha256sums=('SKIP')
-check() {
- cd build
- meson test
-}
-
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
@@ -26,19 +21,21 @@
}
prepare() {
- mkdir build
cd $pkgname
}
build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
cd build
- arch-meson ../$pkgname
- ninja
+ meson test
}
package() {
- cd build
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" ninja -C build install
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list