libxft-bgra/PKGBUILD

31 lines
860 B
Bash
Raw Normal View History

2020-04-20 22:15:17 +02:00
_pkgbasever=2.3.3
2020-01-11 00:30:42 +01:00
pkgname=libxft-bgra
pkgver=2.3.3.r7.7808631e
pkgrel=1
2020-01-11 00:30:42 +01:00
pkgdesc="libXft with BGRA glyph (color emoji) rendering & scaling patches by Maxime Coste"
arch=('x86_64')
license=('custom')
2020-04-20 22:15:17 +02:00
groups=('modified')
provides=('libxft')
conflicts=('libxft')
2021-02-11 19:06:09 +01:00
url="https://gitlab.freedesktop.org/xorg/lib/libxft.git"
depends=('fontconfig' 'libxrender' 'curl' 'xorg-util-macros')
makedepends=('git' 'pkgconf')
source=("git+$url" "https://gitlab.freedesktop.org/xorg/lib/libxft/merge_requests/1.patch")
md5sums=('SKIP' 'SKIP')
2020-07-25 22:19:18 +02:00
build() {
2021-02-11 19:06:09 +01:00
cd libxft
patch -p1 < ../1.patch
sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
make
}
package() {
2021-02-11 19:06:09 +01:00
cd libxft
make DESTDIR="${pkgdir}" install
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}