Update PKGBUILD and .SRCINFO

master
Santiago Lo Coco 2022-01-10 23:22:47 -03:00
parent e7f30d5dcb
commit 8ee7d883bd
2 changed files with 22 additions and 26 deletions

View File

@ -1,23 +1,18 @@
pkgbase = libxft-bgra
pkgdesc = libXft with BGRA glyph (color emoji) rendering & scaling patches by Maxime Coste
pkgver = 2.3.3.r7.7808631e
pkgdesc = X FreeType library with support for BGRA glyphs and scaling
pkgver = 2.3.4
pkgrel = 1
url = https://gitlab.freedesktop.org/xorg/lib/libxft.git
url = https://xorg.freedesktop.org
arch = x86_64
groups = modified
license = custom
makedepends = git
makedepends = pkgconf
depends = fontconfig
depends = libxrender
depends = curl
depends = xorg-util-macros
provides = libxft
conflicts = libxft
source = git+https://gitlab.freedesktop.org/xorg/lib/libxft.git
source = https://gitlab.freedesktop.org/xorg/lib/libxft/merge_requests/1.patch
md5sums = SKIP
md5sums = SKIP
source = https://xorg.freedesktop.org/releases/individual/lib/libXft-2.3.4.tar.bz2
source = bgra_patch::https://gitlab.freedesktop.org/xorg/lib/libxft/merge_requests/1.patch
sha256sums = 57dedaab20914002146bdae0cb0c769ba3f75214c4c91bd2613d6ef79fc9abdd
sha256sums = 0e313ab2eccd7d2f68fc2d409493dd972de9cbe70510c4eb707ad16f8ed6f03e
pkgname = libxft-bgra

View File

@ -1,29 +1,30 @@
_pkgbasever=2.3.3
# Maintainer: Santiago Lo Coco <santilococo.01@gmail.com>
pkgname=libxft-bgra
pkgver=2.3.3.r7.7808631e
pkgver=2.3.4
pkgrel=1
pkgdesc="libXft with BGRA glyph (color emoji) rendering & scaling patches by Maxime Coste"
pkgdesc="X FreeType library with support for BGRA glyphs and scaling"
arch=('x86_64')
url="https://xorg.freedesktop.org"
license=('custom')
groups=('modified')
provides=('libxft')
conflicts=('libxft')
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')
depends=('fontconfig' 'libxrender')
makedepends=('pkgconf')
source=("${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2"
"bgra_patch::https://gitlab.freedesktop.org/xorg/lib/libxft/merge_requests/1.patch")
sha256sums=('57dedaab20914002146bdae0cb0c769ba3f75214c4c91bd2613d6ef79fc9abdd'
'0e313ab2eccd7d2f68fc2d409493dd972de9cbe70510c4eb707ad16f8ed6f03e')
build() {
cd libxft
patch -p1 < ../1.patch
sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
cd "${srcdir}/libXft-${pkgver}"
patch -p1 < "${srcdir}/bgra_patch"
sh configure --prefix=/usr --sysconfdir=/etc --disable-static
make
}
package() {
cd libxft
cd "${srcdir}/libXft-${pkgver}"
make DESTDIR="${pkgdir}" install
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"