diff options
Diffstat (limited to 'main/fontconfig/APKBUILD')
-rw-r--r-- | main/fontconfig/APKBUILD | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/main/fontconfig/APKBUILD b/main/fontconfig/APKBUILD index 9b0c7a81bf..2cf7ec40de 100644 --- a/main/fontconfig/APKBUILD +++ b/main/fontconfig/APKBUILD @@ -9,25 +9,18 @@ arch="all" license="GPL" depends= depends_dev="" -makedepends="$depends_dev freetype-dev expat-dev python2-dev" +makedepends="$depends_dev freetype-dev expat-dev python2-dev gperf" install= triggers="$pkgname.trigger=/usr/share/fonts/*" subpackages="$pkgname-doc $pkgname-dev" source="http://fontconfig.org/release/${pkgname}-${pkgver}.tar.gz" -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" + # regenerate hash functions + rm -f src/fcobjshash.h ./configure \ --build=$CBUILD \ @@ -41,7 +34,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make -j1 DESTDIR="$pkgdir" install || return 1 install -m644 -D COPYING "$pkgdir"/usr/share/licenses/"${pkgname}"/COPYING |