Name libfontenc
Description X11 font encoding library
Version 1.1.9-1
Package Base libfontenc
Homepage https://gitlab.freedesktop.org/xorg/lib/libfontenc
Maintainers ['Andreas Radke <andyrtr@archlinux.org>']
Contributors ['Jan de Groot <jgc@archlinux.org>']
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/libfontenc
Sources ['https://xorg.freedesktop.org/releases/individual/lib/libfontenc-1.1.9.tar.xz', 'https://xorg.freedesktop.org/releases/individual/lib/libfontenc-1.1.9.tar.xz.sig']
Dependencies ['glibc', 'xorg-fonts-encodings', 'zlib']
Optional-Dependencies []
Build-Dependencies ['pkgconfig', 'xorgproto', 'xorg-util-macros']
Provides []
Builddate 08-02-2026 09:46:26
Architecture x86_64
Distro-Version
Licenses ['MIT']
Hash d81a0725b82dd5e89cfd5e65b6502a281cac62c413e1170dc7c571a5f44c42f6
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=libfontenc
pkgver=1.1.9
pkgrel=1
pkgdesc="X11 font encoding library"
arch=('x86_64')
url="https://gitlab.freedesktop.org/xorg/lib/libfontenc"
license=('MIT')
depends=('zlib' 'glibc' 'xorg-fonts-encodings')
makedepends=('pkgconfig' 'xorgproto' 'xorg-util-macros')
source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.xz{,.sig})
sha512sums=('19050c4c9ea1143b555b92faec641fd6b4976de463ad1fb67d20a7bf2f610bbc3debd3c65925cd8329691a9fb0435d004a05b6486e1dc600719e8c479812b912'
            'SKIP')
validpgpkeys=('3AB285232C46AE43D8E192F4DAB0F78EA6E7E2D2') #Alan Coopersmith <alan.coopersmith@oracle.com>
#validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static \
      --with-encodingsdir=/usr/share/fonts/encodings      
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}