diff options
-rw-r--r-- | main/freetype/APKBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/main/freetype/APKBUILD b/main/freetype/APKBUILD index eb11d596be..5466b5f0d6 100644 --- a/main/freetype/APKBUILD +++ b/main/freetype/APKBUILD @@ -2,13 +2,13 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=freetype pkgver=2.6 -pkgrel=0 +pkgrel=1 pkgdesc="TrueType font rendering library" url="http://freetype.sourceforge.net" arch="all" license="GPL" depends="" -depends_dev="libpng-dev" +depends_dev="libpng-dev harfbuzz-dev" makedepends="$depends_dev zlib-dev" subpackages="$pkgname-dev" # fontconfig-ultimate https://github.com/bohoomil/fontconfig-ultimate @@ -56,8 +56,10 @@ package() { ln -s freetype2 "$pkgdir"/usr/include/freetype # install infinality profile settings - install -Dm644 "$srcdir"/fontconfig-ultimate-$_ultver/$pkgname/infinality-settings.sh \ - "$pkgdir"/etc/profile.d/infinality-settings.sh || return 1 + install -Dm755 "$srcdir"/fontconfig-ultimate-$_ultver/$pkgname/infinality-settings.sh \ + "$pkgdir"/etc/X11/xinit/xinitrc.d/infinality-settings.sh || return 1 + sed -i "1i #!/bin/sh" \ + "$pkgdir"/etc/X11/xinit/xinitrc.d/infinality-settings.sh || return 1 } md5sums="5682890cb0267f6671dd3de6eabd3e69 freetype-2.6.tar.bz2 |