blob: 60b7709a936711ab729fa8dddc7418b224d80458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: dreieck
_pkgname="gitlog-to-changelog"
pkgname="${_pkgname}-git"
pkgdesc="Convert git log output to ChangeLog format."
url="https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=build-aux/gitlog-to-changelog"
license=("GPL3")
epoch=0
pkgver=20240717T0220
pkgrel=1
arch=(
'any'
)
depends=(
'perl'
)
makedepends=(
'curl'
)
provides=(
"${_pkgname}=${pkgver}"
)
conflicts=(
"${_pkgname}"
)
optdepends=(
)
source=(
"${_pkgname}::https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=build-aux/gitlog-to-changelog" # Yes, this is a single file, not a git repository, that we want to download.
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "${srcdir}"
perl "${_pkgname}" --version | grep -E '[[:space:]]version[[:space:]]+[0-9]' | head -n1 | awk '{print $3"T"$4}' | tr -d ':-'
}
package() {
cd "${srcdir}"
install -D -m755 -v "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
}
|