[arch-commits] Commit in fribidi/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan de Groot
jgc at archlinux.org
Mon Jan 29 15:52:48 UTC 2018
Date: Monday, January 29, 2018 @ 15:52:46
Author: jgc
Revision: 315571
archrelease: copy trunk to extra-x86_64
Added:
fribidi/repos/extra-x86_64/PKGBUILD
(from rev 315570, fribidi/trunk/PKGBUILD)
Deleted:
fribidi/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 42 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-29 15:52:37 UTC (rev 315570)
+++ PKGBUILD 2018-01-29 15:52:46 UTC (rev 315571)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Nezmer <Nezmer at gmail.com>
-
-pkgname=fribidi
-pkgver=0.19.7
-pkgrel=1
-pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
-arch=('i686' 'x86_64')
-license=('LGPL')
-url="http://fribidi.org"
-depends=('glib2')
-source=("http://fribidi.org/download/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('6c7e7cfdd39c908f7ac619351c1c5c23')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-}
Copied: fribidi/repos/extra-x86_64/PKGBUILD (from rev 315570, fribidi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-29 15:52:46 UTC (rev 315571)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Nezmer <Nezmer at gmail.com>
+
+pkgname=fribidi
+pkgver=0.19.7
+pkgrel=2
+pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
+arch=('x86_64')
+license=('LGPL')
+url="https://github.com/fribidi/fribidi/"
+depends=('glib2')
+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"
+
+ ./configure --prefix=/usr
+
+ make -j1
+}
+
+package() {
+ cd "${srcdir}/$pkgname"
+
+ make -j1 DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list