diff options
author | kosmx | 2024-04-17 10:44:41 +0200 |
---|---|---|
committer | kosmx | 2024-04-17 10:44:41 +0200 |
commit | a0c2303c524b1d3df4093c9ae0107733fbcfcf14 (patch) | |
tree | 84c9c7116c715db899dd319c83ea8eac5dab03a9 | |
parent | 910c30d5c9890269abe8a5baa5389c35f20c5dee (diff) | |
download | aur-a0c2303c524b1d3df4093c9ae0107733fbcfcf14.tar.gz |
Fix git binary diff
doing a git init will make sure to have a repo in the pwd, so git won't look for another repo.
fixes #3
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = incus-ui-canonical pkgdesc = lxd-ui rebranded to incus pkgver = 0.8 - pkgrel = 1 + pkgrel = 2 url = https://github.com/KosmX/incus-ui-canonical-arch arch = i686 arch = x86_64 @@ -3,7 +3,7 @@ _canonical_name=lxd-ui pkgname=incus-ui-canonical pkgver=0.8 -pkgrel=1 +pkgrel=2 epoch= pkgdesc="lxd-ui rebranded to incus" arch=('i686' 'x86_64') @@ -31,6 +31,8 @@ prepare() { #https://github.com/zabbly/incus/blob/75f9f3de023f13d1d54e133fb2ea60de8a0c3006/.github/workflows/builds.yml#L306 cd "$_canonical_name-$pkgver" + git init # https://github.com/KosmX/incus-ui-canonical-arch/issues/3 + git apply -p1 < "${REPO}/patches/ui-canonical-0001-Branding.patch" patch -p1 -i "${REPO}/patches/ui-canonical-0002-Update-navigation.patch" patch -p1 -i "${REPO}/patches/ui-canonical-0003-Update-certificate-generation.patch" |