Bartłomiej Piotrowski b4a13e7314 Do not delete *.la files manually
Since abuild v2.22.0, these are removed automatically unless 'libtool'
option has been specified.
2015-09-10 13:59:03 +02:00

41 lines
1.1 KiB
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libfontenc
pkgver=1.1.3
pkgrel=0
pkgdesc="X11 font encoding library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
makedepends="xproto zlib-dev"
subpackages="$pkgname-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--with-encodingsdir=/usr/share/fonts/encodings \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="0920924c3a9ebc1265517bdd2f9fde50 libfontenc-1.1.3.tar.bz2"
sha256sums="70588930e6fc9542ff38e0884778fbc6e6febf21adbab92fd8f524fe60aefd21 libfontenc-1.1.3.tar.bz2"
sha512sums="7346079a6980464f57f5da0e96025bbf4b13fbb7ed976b58d9c54b78525d9d0b4174b4783326a12048971cf5d05221bafe2f41c6b02931743913719cde21740c libfontenc-1.1.3.tar.bz2"