commit 27431822d6a5522438c8f340449ea926e5947f2b Author: xhaa123 Date: Tue Apr 16 17:55:19 2024 +0800 encodings 1.1.0-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..434c550 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=encodings +pkgver=1.1.0 +pkgrel=1 +pkgdesc="X.org font encoding files" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +groups=('xorg-fonts' 'xorg') +makedepends=('mkfontscale' 'util-macros' 'font-util') +source=(https://www.x.org/pub/individual/font/${pkgname}-${pkgver}.tar.xz) +sha256sums=(9ff13c621756cfa12e95f32ba48a5b23839e8f577d0048beda66c67dab4de975) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}