liblouisutdml-git

LOW
maintainer dreieck 0 votes scanned 2026-09-25 07:10:52.990950
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: dreieck
2
3_gitname=liblouisutdml
4_pkgname="${_gitname}"
5_pkgsource=git
6pkgname="${_pkgname}-${_pkgsource}"
7pkgver=2.12.0+48.r845.20260903.071cf89
8pkgrel=1
9pkgdesc="Library providing complete braille transcription services for xml, html and text documents."
10url="https://github.com/liblouis/liblouisutdml"
11# url="https://liblouis.io/"
12license=(
13 'LGPL-3.0-or-later'
14 'GPL-3.0-or-later'
15)
16arch=(
17 'i686'
18 'x86_64'
19 'armv7h'
20 'armv8h'
21 'aarch64'
22)
23depends=(
24 'glibc'
25 'liblouis'
26 'libxml2.so'
27)
28makedepends=(
29 'git'
30 'libxml2'
31 #'java-environment'
32)
33optdepends=()
34options+=('emptydirs')
35source=(
36 "${_pkgname}::git+https://github.com/liblouis/liblouisutdml.git"
37)
38provides=(
39 "${_pkgname}=${pkgver}"
40 "${_pkgname}-static=${pkgver}"
41 "file2brl=${pkgver}"
42 "liblouisutdml.a"
43 "liblouisutdml.so"
44)
45conflicts=(
46 "${_pkgname}"
47 "${_pkgname}-static"
48 "file2brl"
49 "liblouisutdml.a"
50 "liblouisutdml.so"
51)
52sha256sums=(
53 'SKIP' # main source (git checkout)
54)
55options+=('staticlibs')
56
57prepare() {
58 cd "${srcdir}/${_pkgname}"
59
60 git log > git.log
61
62 ./autogen.sh
63}
64
65pkgver() {
66 cd "${srcdir}/${_pkgname}"
67
68 _ver="$(git describe --tags | sed -E -e "s|${_gitname}.||" -e 's|^v||' -e 's|-[^-]*$||' | tr '-' '+')"
69 _rev="$(git rev-list --count HEAD)"
70 _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
71 _hash="$(git rev-parse --short HEAD)"
72
73 if [ -z "${_ver}" ]; then
74 error "Version could not be determined."
75 return 1
76 else
77 printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
78 fi
79}
80
81
82build() {
83 cd "${srcdir}/${_pkgname}"
84
85 CFLAGS+=" -Wno-stringop-overflow -Wno-deprecated-declarations -Wno-incompatible-pointer-types"
86
87 ./configure --prefix=/usr \
88 --enable-shared \
89 --enable-static \
90 --enable-cxx-stdlib \
91 --enable-java-bindings
92
93 make all
94}
95
96check() {
97 cd "${srcdir}/${_pkgname}"
98
99 make check
100}
101
102package() {
103 cd "${srcdir}/${_pkgname}"
104
105 make DESTDIR="${pkgdir}/" install
106
107 install -Dvm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" git.log ANNOUNCEMENT AUTHORS NEWS README.md ChangeLog
108 install -Dvm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING.LIB COPYING
109}
110

Scan history

Scanned at (UTC)SeverityRules
2026-09-25 07:10:52 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