Last active
May 9, 2018 11:42
-
-
Save undu/296b2ec54977fd0b5be4fef4d5693197 to your computer and use it in GitHub Desktop.
ttfautohint 1.8.1-3 with builddepends
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Mario Finelli <mario at finel dot li> | |
# Contributor: Arthur Titeica <arthur dot titeica at gmail dot com> | |
pkgname=ttfautohint | |
pkgver=1.8.1 | |
pkgrel=3 | |
pkgdesc="Provides automated hinting process for web fonts." | |
arch=('i686' 'x86_64') | |
url="http://www.freetype.org/ttfautohint/" | |
license=('GPL' 'custom') | |
depends=('freetype2' 'qt5-base') | |
makedepends=('help2man' 'texlive-bin' 'pandoc' 'inkscape' 'noto-fonts' 'noto-fonts-alpha') | |
source=(https://download.savannah.gnu.org/releases/freetype/$pkgname-$pkgver.tar.gz{,.sig}) | |
sha256sums=('12df5120be194d2731e2a3c596892aa218681614c4f924e24279baf69bb7d4f9' | |
'SKIP') | |
validpgpkeys=('58E0C111E39F5408C5D3EC76C1A60EACE707FDA5') | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
export QMAKE='/usr/bin/qmake' | |
export MOC='/usr/bin/moc' | |
export UIC='/usr/bin/uic' | |
export RCC='/usr/bin/rcc' | |
export TTFONTS='/usr/share/fonts/noto' | |
./configure --prefix=/usr --with-qt=/usr/lib/qt \ | |
--with-freetype-config="pkg-config freetype2" | |
make | |
} | |
check() { | |
cd "$srcdir/$pkgname-$pkgver" | |
make -k check | |
} | |
package() { | |
cd "$srcdir/$pkgname-$pkgver" | |
make DESTDIR="$pkgdir/" install | |
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" | |
install -Dm644 FTL.TXT "${pkgdir}/usr/share/licenses/${pkgname}/FTL.TXT" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment