libxft-bgra/PKGBUILD

32 lines
1.0 KiB
Bash
Raw Normal View History

2022-01-11 21:37:19 +01:00
# Maintainer: Santiago Lo Coco <santilococo.01 at gmail dot com>
2022-01-11 03:22:47 +01:00
2020-01-11 00:30:42 +01:00
pkgname=libxft-bgra
2022-01-11 03:22:47 +01:00
pkgver=2.3.4
pkgrel=1
2022-01-11 04:39:54 +01:00
pkgdesc="X FreeType library with support for BGRA glyphs and scaling."
arch=('x86_64')
2022-01-11 03:22:47 +01:00
url="https://xorg.freedesktop.org"
license=('custom')
2022-01-11 03:22:47 +01:00
depends=('fontconfig' 'libxrender')
makedepends=('pkgconf')
2022-01-11 05:05:15 +01:00
provides=('libxft')
conflicts=('libxft')
2022-01-11 05:09:01 +01:00
source=("${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2"
2022-01-11 03:22:47 +01:00
"bgra_patch::https://gitlab.freedesktop.org/xorg/lib/libxft/merge_requests/1.patch")
sha256sums=('57dedaab20914002146bdae0cb0c769ba3f75214c4c91bd2613d6ef79fc9abdd'
'0e313ab2eccd7d2f68fc2d409493dd972de9cbe70510c4eb707ad16f8ed6f03e')
build() {
2022-01-11 03:22:47 +01:00
cd "${srcdir}/libXft-${pkgver}"
patch -p1 < "${srcdir}/bgra_patch"
sh configure --prefix=/usr --sysconfdir=/etc --disable-static
2021-02-11 19:06:09 +01:00
make
}
package() {
2022-01-11 03:22:47 +01:00
cd "${srcdir}/libXft-${pkgver}"
2021-02-11 19:06:09 +01:00
make DESTDIR="${pkgdir}" install
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}