summaryrefslogtreecommitdiffstats
path: root/abs/core/fribidi/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-15 21:52:10 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-15 21:52:10 (GMT)
commitbcb357cc50a5637a1f354ce1430e2519644da024 (patch)
treebc0c753db243b8296a36e0d360c813a651b658a5 /abs/core/fribidi/PKGBUILD
parent70302b041dc325ec2debd2878a4fbd0fb332b322 (diff)
downloadlinhes_pkgbuild-bcb357cc50a5637a1f354ce1430e2519644da024.zip
linhes_pkgbuild-bcb357cc50a5637a1f354ce1430e2519644da024.tar.gz
linhes_pkgbuild-bcb357cc50a5637a1f354ce1430e2519644da024.tar.bz2
fribidi: update to 1.0.1+8
Diffstat (limited to 'abs/core/fribidi/PKGBUILD')
-rw-r--r--abs/core/fribidi/PKGBUILD38
1 files changed, 28 insertions, 10 deletions
diff --git a/abs/core/fribidi/PKGBUILD b/abs/core/fribidi/PKGBUILD
index 1a955d4..e599369 100644
--- a/abs/core/fribidi/PKGBUILD
+++ b/abs/core/fribidi/PKGBUILD
@@ -3,26 +3,44 @@
# Contributor: Nezmer <Nezmer@gmail.com>
pkgname=fribidi
-pkgver=0.19.7
+pkgver=1.0.1+8+gdf7252b
pkgrel=1
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
-arch=('i686' 'x86_64')
+arch=('x86_64')
license=('LGPL')
-url="http://fribidi.org"
-depends=('glib2')
-source=("http://fribidi.org/download/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('6c7e7cfdd39c908f7ac619351c1c5c23')
+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')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed -e 's/-/+/g' -e 's/^v//'
+}
- ./configure --prefix=/usr
+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}-${pkgver}"
+ cd "${srcdir}/$pkgname"
make DESTDIR="${pkgdir}" install
}
+
+check() {
+ cd "${srcdir}/$pkgname"
+ make check
+}