libxft 2.3.8-1

This commit is contained in:
xhaa123 2024-04-15 21:00:40 +08:00
commit 35d2d29de7

35
PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# 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 <future_linux@163.com>
pkgname=libxft
pkgver=2.3.8
pkgrel=1
pkgdesc="FreeType-based font drawing library for X"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('fontconfig' 'libxrender')
makedepends=('pkgconf')
source=(https://www.x.org/pub/individual/lib/libXft-${pkgver}.tar.xz)
sha256sums=(5e8c3c4bc2d4c0a40aef6b4b38ed2fb74301640da29f6528154b5009b1c6dd49)
build() {
cd libXft-${pkgver}
${CONFIGURE} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--docdir=/usr/share/doc/libXft-${pkgver}
make
}
package() {
cd libXft-${pkgver}
make DESTDIR=${pkgdir} install
}