codediff-bin
LOW
maintainer Dominiquini
1 votes
scanned 2026-09-28 07:20:27.447771
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}
6
pkgname=${_appname}-bin
7
pkgdesc="Fast, robust, accurate, syntax-aware code diffing"
8
9
pkgver=0.1.1
10
pkgrel=1
11
_gitversion=v${pkgver}
12
13
arch=('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}"
18
url=${_ghurl}
19
20
license=('AGPL-3.0')
21
22
provides=("${_appname}")
23
conflicts=("${pkgname%-bin}")
24
25
depends=('glibc' 'libgcc')
26
27
options=('!strip')
28
29
source_x86_64=("${_appname}-${arch[0]}-${pkgver}.tgz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[0]}.tar.gz")
30
source_aarch64=("${_appname}-${arch[1]}-${pkgver}.tgz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[1]}.tar.gz")
31
sha256sums_x86_64=('2c3c3552c8d98e0f5d8900d793678539d4a9faa77e05871bddc861528bc74791')
32
sha256sums_aarch64=('30680c5cbb845ec9581cd82dd11b57b18be02f218cb56d8f86c944f973940552')
33
34
35
build() {
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
47
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-28 07:20:27 | Low | 1 |