Skip to content

Commit

Permalink
Revert "dissent-git: apply patch to fix build"
Browse files Browse the repository at this point in the history
This reverts commit ec77cd8.
  • Loading branch information
Integral-Tech committed Dec 29, 2024
1 parent 4363d92 commit 30e98c8
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions archlinuxcn/dissent-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,16 @@ provides=("${_pkgname}" "gtkcord4")
conflicts=("${_pkgname}" "gtkcord4")
replaces=("gtkcord4-git")
makedepends=('git' 'go')
source=(
"git+${url}.git"
"https://github.com/diamondburned/dissent/pull/336.patch"
)
sha256sums=('SKIP'
'b27f56151ae919aba2e88c4676b5f1ff1300fe3c4eb084c61dd5fe6793ff6c80')
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() {
cd "${_pkgname}/"
git describe --long --tags --abbrev=7 --match 'v[0-9]*' | sed -e 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

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

# Apply patch to update libspelling go mods
patch -p1 -i ../336.patch
mkdir -p "${_pkgname}/build/"
}

build() {
Expand Down

0 comments on commit 30e98c8

Please sign in to comment.