Updated to use static patch file.

This commit is contained in:
Will Temple 2020-07-25 13:19:18 -07:00
parent e445c03efc
commit cf0e434be0
No known key found for this signature in database
GPG key ID: F60429B2035EF582
3 changed files with 748 additions and 5 deletions

View file

@ -11,14 +11,17 @@ conflicts=('libxft')
url="https://xorg.freedesktop.org/"
depends=('fontconfig' 'libxrender')
makedepends=('git' 'pkgconfig')
source=(${url}/releases/individual/lib/libXft-${_pkgbasever}.tar.bz2{,.sig})
COMMIT_ID=7808631e7a9a605d5fe7a1077129c658d9ec47fc
source=(${url}/releases/individual/lib/libXft-${_pkgbasever}.tar.bz2{,.sig}
"https://gitlab.freedesktop.org/xorg/lib/libxft/-/commit/${COMMIT_ID}.patch")
sha512sums=('28fdaf3baa3b156a4a7fdd6e39c4d8026d7d21eaa9be27c9797c8d329dab691a1bc82ea6042f9d4729a9343d93787536fb7e4b606f722f33cbe608b2e79910e8'
'SKIP')
'SKIP'
'109dd3e071c78391d78f1e627b523562e70789e1bd72bacac03ee437b0f170e1dd030bcc177b72da6ed98e91fddd2379f5225842d87247d584841fe37c641ae2')
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
LIBXFT_UPSTREAM_URL="https://gitlab.freedesktop.org/xorg/lib/libxft.git"
GITLAB_REVISION=7
COMMIT_ID=7808631e7a9a605d5fe7a1077129c658d9ec47fc
pkgver() {
echo "${_pkgbasever}.r${GITLAB_REVISION}.`echo $COMMIT_ID | cut -c1-8`"
@ -28,7 +31,7 @@ prepare() {
set -eo pipefail
pushd libXft-${_pkgbasever}
curl -S https://gitlab.freedesktop.org/xorg/lib/libxft/-/commit/${COMMIT_ID}.patch | patch -p1
patch -p1 < ../${COMMIT_ID}.patch
popd
set +eo pipefail