Skip to content

Commit

Permalink
dissent: apply patch to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Integral-Tech committed Dec 27, 2024
1 parent ec77cd8 commit 7b08e5a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions archlinuxcn/dissent/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ depends=('gtk4>=4.10.3' 'gobject-introspection' 'libadwaita>=1.3.2' 'gtksourcevi
makedepends=('git' 'go>=1.20.3')
provides=("gtkcord4")
replaces=("gtkcord4")
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${_pkgver}.tar.gz")
sha256sums=('63994e46b01e135c36902b67a8495eef71d4a4b09204c712629edadfc8398dc6')
source=(
"${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${_pkgver}.tar.gz"
"https://github.com/diamondburned/dissent/pull/336.patch"
)
sha256sums=('63994e46b01e135c36902b67a8495eef71d4a4b09204c712629edadfc8398dc6'
'b27f56151ae919aba2e88c4676b5f1ff1300fe3c4eb084c61dd5fe6793ff6c80')

prepare() {
mkdir -p "${pkgname}-${_pkgver}/build/"
cd "${pkgname}-${_pkgver}/"
mkdir -p build

# Apply patch to update libspelling go mods
patch -p1 -i ../336.patch
}

build() {
Expand Down

0 comments on commit 7b08e5a

Please sign in to comment.