[arch-commits] Commit in fribidi/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Apr 9 19:44:11 UTC 2018


    Date: Monday, April 9, 2018 @ 19:44:09
  Author: heftig
Revision: 321406

archrelease: copy trunk to extra-x86_64

Added:
  fribidi/repos/extra-x86_64/PKGBUILD
    (from rev 321405, fribidi/trunk/PKGBUILD)
Deleted:
  fribidi/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   85 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 39 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-09 19:43:42 UTC (rev 321405)
+++ PKGBUILD	2018-04-09 19:44:09 UTC (rev 321406)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Nezmer <Nezmer at gmail.com>
-
-pkgname=fribidi
-pkgver=1.0.1+8+gdf7252b
-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
-source=("git+https://github.com/fribidi/fribidi#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  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
-}
-
-package() {
-  cd "${srcdir}/$pkgname"
-
-  make DESTDIR="${pkgdir}" install
-}
-
-check() {
-  cd "${srcdir}/$pkgname"
-  make check
-}

Copied: fribidi/repos/extra-x86_64/PKGBUILD (from rev 321405, fribidi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-09 19:44:09 UTC (rev 321406)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Nezmer <Nezmer at gmail.com>
+
+pkgname=fribidi
+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/"
+depends=('glibc')
+makedepends=('git' 'meson')
+_commit=f2c9d50722cb60d0cdec3b1bafba9029770e86b4  # tags/v1.0.2^0
+source=("git+https://github.com/fribidi/fribidi#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -e 's/-/+/g' -e 's/^v//'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D docs=false
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}



More information about the arch-commits mailing list