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

Jan de Groot jgc at archlinux.org
Mon Jan 29 15:52:40 UTC 2018


    Date: Monday, January 29, 2018 @ 15:52:37
  Author: jgc
Revision: 315570

upgpkg: fribidi 0.19.7-2

Switch to new upstream.

Modified:
  fribidi/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-29 15:27:47 UTC (rev 315569)
+++ PKGBUILD	2018-01-29 15:52:37 UTC (rev 315570)
@@ -4,25 +4,39 @@
 
 pkgname=fribidi
 pkgver=0.19.7
-pkgrel=1
+pkgrel=2
 pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
 arch=('x86_64')
 license=('LGPL')
-url="http://fribidi.org"
+url="https://github.com/fribidi/fribidi/"
 depends=('glib2')
-source=("http://fribidi.org/download/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('6c7e7cfdd39c908f7ac619351c1c5c23')
+makedepends=(git)
+_commit=1a6935cd8cd7d907fb3c5f3bcae174bee727c83d  # tags/0.19.7^0
+source=("git+https://github.com/fribidi/fribidi#commit=$_commit")
+md5sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+
+prepare() {
+  cd $pkgname
+  git cherry-pick -n 0efbaa9052320a951823a6e776b30a580e3a2b4e
+  ./bootstrap
+}
+
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/$pkgname"
 
   ./configure --prefix=/usr
 
-  make
+  make -j1
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/$pkgname"
 
-  make DESTDIR="${pkgdir}" install
+  make -j1 DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list