[arch-commits] Commit in babl/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Mar 13 22:56:17 UTC 2018
Date: Tuesday, March 13, 2018 @ 22:56:16
Author: bpiotrowski
Revision: 318918
0.1.42-1
Modified:
babl/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++--------------------
1 file changed, 12 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-13 22:54:12 UTC (rev 318917)
+++ PKGBUILD 2018-03-13 22:56:16 UTC (rev 318918)
@@ -2,16 +2,16 @@
# Maintainer: Daniel Isenmann <daniel at archlinux.org>
pkgname=babl
-pkgver=0.1.38
+pkgver=0.1.42
pkgrel=1
pkgdesc="Dynamic, any to any, pixel format conversion library"
-arch=('x86_64')
+arch=(x86_64)
url="http://gegl.org/babl/"
-license=('LGPL3')
-depends=('glibc')
-makedepends=('gobject-introspection' 'vala' git)
-options=('!makeflags')
-_commit=04cea9206deb0a6fb52b0a86012d70551b020205 # tags/BABL_0_1_38^0
+license=(LGPL3)
+depends=(glibc)
+makedepends=(gobject-introspection vala git meson)
+options=(!makeflags)
+_commit=9e4bfe9f1470a7836f7f885ea95607427ed7997f # tags/BABL_0_1_44^0
source=("git+https://git.gnome.org/browse/babl#commit=$_commit")
sha256sums=('SKIP')
@@ -20,24 +20,16 @@
git describe --tags | sed 's/^BABL_//;s/_/./g;s/-/+/g'
}
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
-}
-
build() {
- cd "${srcdir}/$pkgname"
- ./configure --prefix=/usr
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ arch-meson $pkgname build
+ ninja -C build
}
check() {
- cd "${srcdir}/$pkgname"
- make check
+ cd build
+ meson test
}
package() {
- cd "${srcdir}/$pkgname"
- make DESTDIR="${pkgdir}" install
+ DESTDIR="$pkgdir" ninja -C build install
}
More information about the arch-commits
mailing list