diff options
-rw-r--r-- | user/freetype/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/user/freetype/APKBUILD b/user/freetype/APKBUILD index 38ed08ce3..652bef747 100644 --- a/user/freetype/APKBUILD +++ b/user/freetype/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=freetype pkgver=2.9.1 -pkgrel=1 +pkgrel=2 pkgdesc="TrueType font rendering library" url="https://www.freetype.org/" arch="all" @@ -11,7 +11,7 @@ options="!check" depends="" depends_dev="" makedepends="$depends_dev zlib-dev libpng-dev bzip2-dev" -subpackages="$pkgname-dev" +subpackages="$pkgname-dev $pkgname-doc" source="http://download.savannah.gnu.org/releases/freetype/freetype-$pkgver.tar.bz2 40-memcpy-fix.patch 0001-Enable-table-validation-modules.patch @@ -37,7 +37,8 @@ build() { --sysconfdir=/etc \ --disable-static \ --with-bzip2 \ - --with-png + --with-png \ + --enable-freetype-config make } @@ -49,6 +50,11 @@ package() { "$pkgdir"/etc/profile.d/freetype.sh } +doc() { + gzip "$pkgdir/usr/share/man/man1/freetype-config.1" + default_doc +} + sha512sums="856766e1f3f4c7dc8afb2b5ee991138c8b642c6a6e5e007cd2bc04ae58bde827f082557cf41bf541d97e8485f7fd064d10390d1ee597f19d1daed6c152e27708 freetype-2.9.1.tar.bz2 9981be8a3ea6f2cf856860b87a4e895e4610c9d5ea4beb611815e757e6080e060f6853ace02dd8ea55e5888cdf4bae5ad5eadd2d8a123754bb3c0bfe7ef41dea 40-memcpy-fix.patch 41a84be2631b53072a76b78c582575aa48b650ee7b00017d018381002bc25df10cf33da4954c95ef50db39f1fa566678e3b4ae9bfee1dfd705423fb53e53e494 0001-Enable-table-validation-modules.patch |