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

Jan Steffens heftig at archlinux.org
Mon Apr 9 19:42:03 UTC 2018


    Date: Monday, April 9, 2018 @ 19:41:59
  Author: heftig
Revision: 321404

1.0.2-1

Modified:
  fribidi/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-09 19:33:34 UTC (rev 321403)
+++ PKGBUILD	2018-04-09 19:41:59 UTC (rev 321404)
@@ -3,16 +3,15 @@
 # Contributor: Nezmer <Nezmer at gmail.com>
 
 pkgname=fribidi
-pkgver=1.0.1+8+gdf7252b
+pkgver=1.0.2
 pkgrel=1
 pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
 arch=('x86_64')
 license=('LGPL')
 url="https://github.com/fribidi/fribidi/"
-makedepends=(git glib2)
 depends=('glibc')
-options=('!makeflags')
-_commit=df7252be3fd94ceae8141a09ee86421fdd8b3b7e  # master
+makedepends=('git' 'meson')
+_commit=f2c9d50722cb60d0cdec3b1bafba9029770e86b4  # tags/v1.0.2^0
 source=("git+https://github.com/fribidi/fribidi#commit=$_commit")
 md5sums=('SKIP')
 
@@ -21,26 +20,20 @@
   git describe --tags | sed -e 's/-/+/g' -e 's/^v//'
 }
 
-
 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 -D docs=false
+  ninja -C build
 }
 
-package() {
-  cd "${srcdir}/$pkgname"
-
-  make DESTDIR="${pkgdir}" install
+check() {
+  cd build
+  meson test
 }
 
-check() {
-  cd "${srcdir}/$pkgname"
-  make check
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
 }



More information about the arch-commits mailing list