[arch-commits] Commit in gdk-pixbuf2/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Mar 8 18:46:05 UTC 2018
Date: Thursday, March 8, 2018 @ 18:46:04
Author: heftig
Revision: 318256
2.36.11+70+g00e03a272-1
Modified:
gdk-pixbuf2/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-08 18:38:41 UTC (rev 318255)
+++ PKGBUILD 2018-03-08 18:46:04 UTC (rev 318256)
@@ -2,7 +2,7 @@
# Contributor: Ionut Biru <ibiru at archlinux.org>
pkgname=gdk-pixbuf2
-pkgver=2.36.11
+pkgver=2.36.11+70+g00e03a272
pkgrel=1
pkgdesc="An image loading library"
arch=(x86_64)
@@ -11,7 +11,7 @@
depends=(glib2 libpng libtiff libjpeg libx11 jasper shared-mime-info)
makedepends=(gtk-doc gobject-introspection git docbook-xsl meson)
install=gdk-pixbuf2.install
-_commit=45997d6abebf589dd594c78dc6bf06f3a3d7430c # tags/2.36.11^0
+_commit=00e03a2727b276ea32e2902dd9b41298ff1f9e96 # master
source=("git+https://git.gnome.org/browse/gdk-pixbuf#commit=$_commit"
gdk-pixbuf-query-loaders.hook)
sha256sums=('SKIP'
@@ -23,14 +23,12 @@
}
prepare() {
- mkdir build
cd gdk-pixbuf
}
build() {
- cd build
- arch-meson ../gdk-pixbuf -Denable_jasper=true -Dwith_docs=true
- ninja
+ arch-meson gdk-pixbuf build -D jasper=true -D docs=true
+ ninja -C build
}
check() {
@@ -40,10 +38,9 @@
}
package() {
- cd build
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" ninja -C build install
rm -rf "$pkgdir"/usr/{lib,share}/installed-tests
- install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 ../gdk-pixbuf-query-loaders.hook
+ install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
}
# vim:set et sw=2:
More information about the arch-commits
mailing list