app=libfontenc
version=1.1.4
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/lib/libfontenc-$version.tar.gz"
desc="X11 font encoding library"
requires="zlib xorg-macros xorgproto"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
0a368880d40c2d978b93ea1e1e169a184fd0efe3cdcd1fd30c031f6079c643ff9ac8bf4bc02d1b9b41cf4fec56489ad22dabcd98cf09faea9ed283ebb2ae387a  libfontenc-1.1.4.tar.lz
"
