From 9c63a8f8e55c09420bbc63d2ea66d32baf7e11ff Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Tue, 16 Apr 2024 17:58:06 +0800 Subject: [PATCH] font-alias 1.0.5-1 --- PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..785ddcf --- /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=font-alias +pkgver=1.0.5 +pkgrel=1 +pkgdesc="X.org font alias files" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +groups=('xorg-fonts' 'xorg') +makedepends=('util-macros' 'font-util') +source=(https://www.x.org/pub/individual/font/${pkgname}-${pkgver}.tar.xz) +sha256sums=(9f89e217bb73e0e3636a0a493fbf8b7c995156e0c53d9a0476d201b67c2d6b6e) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}