disc-image-studio-git

LOW
maintainer agony4001 0 votes scanned 2026-11-02 22:03:11.184944
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: agony <27015 at riseup dot net>
2
3pkgname=disc-image-studio-git
4_pkgname=disc-image-studio
5pkgver=r55.374c063
6pkgrel=1
7pkgdesc='Generate CD, DVD and Blu-ray images that show a picture on the burned disc (git version)'
8arch=('x86_64')
9url='https://github.com/JiaFeiMiao-K-Cat/DiscImageStudio'
10license=('GPL-3.0-or-later')
11depends=('dotnet-runtime-10.0' 'glibc' 'libgcc' 'libstdc++')
12makedepends=('dotnet-sdk-10.0' 'git')
13provides=("${_pkgname}")
14conflicts=("${_pkgname}")
15options=('!debug')
16source=("${_pkgname}::git+${url}.git")
17sha256sums=('SKIP')
18
19_project=src/DiscImageStudio.Cli/DiscImageStudio.Cli.csproj
20
21_dotnet_env() {
22 export HOME="${srcdir}/home"
23 export DOTNET_CLI_TELEMETRY_OPTOUT=1
24 export DOTNET_GENERATE_ASPNET_CERTIFICATE=false
25 export DOTNET_NOLOGO=1
26 export DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK=1
27 mkdir -p "${HOME}"
28}
29
30pkgver() {
31 cd "${_pkgname}"
32 printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
33}
34
35prepare() {
36 cd "${_pkgname}"
37 _dotnet_env
38 dotnet restore "${_project}" --disable-build-servers
39}
40
41build() {
42 cd "${_pkgname}"
43 _dotnet_env
44 dotnet publish "${_project}" \
45 --no-restore \
46 --disable-build-servers \
47 --configuration Release \
48 --self-contained false \
49 --output "${srcdir}/publish" \
50 -p:DebugType=none \
51 -p:DebugSymbols=false
52}
53
54check() {
55 "${srcdir}/publish/${_pkgname}" selftest
56}
57
58package() {
59 install -d "${pkgdir}/usr/lib/${_pkgname}" "${pkgdir}/usr/bin"
60 cp -a "${srcdir}/publish/." "${pkgdir}/usr/lib/${_pkgname}/"
61 ln -s "/usr/lib/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
62 install -Dm644 "${_pkgname}/THIRD-PARTY-NOTICES.txt" -t "${pkgdir}/usr/share/doc/${pkgname}"
63}
64

Scan history

Scanned at (UTC)SeverityRules
2026-11-02 22:03:11 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