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

View File

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