diff options
author | Will Temple | 2020-06-06 06:32:45 -0700 |
---|---|---|
committer | Will Temple | 2020-06-06 06:32:45 -0700 |
commit | 271c48e216f8214cfbd9af6b9b56940d3627da7d (patch) | |
tree | c3dbcb5471b0532d54dbb3a39d55b57ad7f48d38 /PKGBUILD | |
parent | 0fe288ab3b58fbc03c7be357aa9f7c17c973e85c (diff) | |
download | aur-lib32-libxft-bgra.tar.gz |
Updated pkgbuild to use http instead of git-fetch
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -28,20 +28,8 @@ pkgver() { prepare() { set -eo pipefail - # Create git repository to hold gitlab upstream code and create diff - if [ -d "libxft_upstream" ]; then - rm -rf "libxft_upstream"; - fi; - - mkdir libxft_upstream - pushd libxft_upstream - git init - git remote add upstream ${LIBXFT_UPSTREAM_URL} - git fetch --depth=2 upstream ${COMMIT_ID} - popd - pushd libXft-${_pkgbasever} - git --git-dir ../libxft_upstream/.git diff -u ${COMMIT_ID}~ ${COMMIT_ID} | patch -p1 + curl -S https://gitlab.freedesktop.org/xorg/lib/libxft/-/commit/${COMMIT_ID}.patch | patch -p1 popd set +eo pipefail |