codediff-bin

LOW
maintainer Dominiquini 1 votes scanned 2026-09-28 07:20:27.447771
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3_gitauthor=ivankovic
4_gitname=codediff
5_appname=${_gitname}
6pkgname=${_appname}-bin
7pkgdesc="Fast, robust, accurate, syntax-aware code diffing"
8
9pkgver=0.1.1
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('x86_64' 'aarch64')
14_barch=('x86_64-unknown-linux-gnu' 'aarch64-unknown-linux-gnu')
15
16_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18url=${_ghurl}
19
20license=('AGPL-3.0')
21
22provides=("${_appname}")
23conflicts=("${pkgname%-bin}")
24
25depends=('glibc' 'libgcc')
26
27options=('!strip')
28
29source_x86_64=("${_appname}-${arch[0]}-${pkgver}.tgz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[0]}.tar.gz")
30source_aarch64=("${_appname}-${arch[1]}-${pkgver}.tgz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[1]}.tar.gz")
31sha256sums_x86_64=('2c3c3552c8d98e0f5d8900d793678539d4a9faa77e05871bddc861528bc74791')
32sha256sums_aarch64=('30680c5cbb845ec9581cd82dd11b57b18be02f218cb56d8f86c944f973940552')
33
34
35build() {
36 cd "${srcdir}/" || exit
37
38 mkdir -p completions
39 ./"${_appname}" util completions zsh > "completions/${_appname}.zsh"
40 ./"${_appname}" util completions bash > "completions/${_appname}.bash"
41 ./"${_appname}" util completions fish > "completions/${_appname}.fish"
42
43 mkdir -p manpage
44 ./"${_appname}" util man > "manpage/${_appname}.1"
45}
46
47package() {
48 cd "${srcdir}/" || exit
49
50 install -Dm755 "${_appname}" "${pkgdir}/usr/bin/${_appname}"
51
52 install -Dm644 "completions/${_appname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${_appname}"
53 install -Dm644 "completions/${_appname}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${_appname}"
54 install -Dm644 "completions/${_appname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${_appname}.fish"
55
56 install -Dm644 "manpage/${_appname}.1" "${pkgdir}/usr/share/man/man1/${_appname}.1"
57
58 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
59
60 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
61 install -Dm644 "THIRD-PARTY-NOTICES.md" "${pkgdir}/usr/share/licenses/${pkgname}THIRD-PARTY-NOTICES"
62}
63

Scan history

Scanned at (UTC)SeverityRules
2026-09-28 07:20:27 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion