aboutsummaryrefslogtreecommitdiffstats
path: root/main/fribidi
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-05 18:17:32 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-07 06:46:36 +0000
commite2552e91b61f59fbe0ce1ab77bc08fa2c289e411 (patch)
tree45018bb374d7260151a0a1705303e99c1481ec41 /main/fribidi
parent626d8363d7eff47044bd6651711de599ae44142b (diff)
downloadaports-e2552e91b61f59fbe0ce1ab77bc08fa2c289e411.tar.bz2
aports-e2552e91b61f59fbe0ce1ab77bc08fa2c289e411.tar.xz
main/fribidi: modernise, add test suite
Diffstat (limited to 'main/fribidi')
-rw-r--r--main/fribidi/APKBUILD33
1 files changed, 12 insertions, 21 deletions
diff --git a/main/fribidi/APKBUILD b/main/fribidi/APKBUILD
index dd760ba434..f2bc276e08 100644
--- a/main/fribidi/APKBUILD
+++ b/main/fribidi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fribidi
pkgver=0.19.7
-pkgrel=0
+pkgrel=1
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
url="http://fribidi.org"
arch="all"
@@ -11,34 +11,25 @@ depends=""
makedepends=""
source="http://fribidi.org/download/fribidi-$pkgver.tar.bz2"
-_builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build ()
-{
- cd "$_builddir"
+build() {
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
- --with-glib=no \
- || return 1
- make || return 1
+ --with-glib=no
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="6c7e7cfdd39c908f7ac619351c1c5c23 fribidi-0.19.7.tar.bz2"
-sha256sums="08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e fribidi-0.19.7.tar.bz2"
sha512sums="4bfdda43d961030a8a2ae2c98d2ca5d43c1b59633fa0987920c5537ec69f3f624204ceacc4c474d878cbb417ee2d9e708dfe169cfce6ad584d2f2d5122678b63 fribidi-0.19.7.tar.bz2"