archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libotf / trunk / PKGBUILD
blob07d3c16fee1032bf3f929a5480092acb74abdcbf
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: Ashish Shukla <wahjava.ml@gmail.com>
4 pkgname=libotf
5 pkgver=0.9.16
6 pkgrel=4
7 pkgdesc='OpenType Font library'
8 url='https://www.nongnu.org/m17n/'
9 license=('LGPL')
10 arch=('x86_64')
11 depends=('libxaw' 'freetype2')
12 source=("https://download.savannah.gnu.org/releases/m17n/${pkgname}-${pkgver}.tar.gz"
13         'replace-freetype-config.patch')
14 sha256sums=('68db0ca3cda2d46a663a92ec26e6eb5adc392ea5191bcda74268f0aefa78066b'
15             'edd0f86332f4d809dfb0ab66da547c946e5d79a907a7eaddc4d2166c78205668')
17 prepare() {
18         cd "${srcdir}/${pkgname}-${pkgver}"
19         patch -p1 -i ${srcdir}/replace-freetype-config.patch
22 build() {
23         cd "${srcdir}/${pkgname}-${pkgver}"
24         autoreconf -i
25         ./configure --prefix=/usr
26         make
29 package() {
30         cd "${srcdir}/${pkgname}-${pkgver}"
31         make DESTDIR="${pkgdir}" install