summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 445ce6c8c63452e7eac1cc78a456ea70f020ccd6 (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=20210224T2342
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"
)

sha256sums=(
  'SKIP'
)

pkgver() {
  cd "${srcdir}"
  perl "./${_pkgname}" --version | awk '{print $3"T"$4}' | tr -d ':-'
}

package() {
  cd "${srcdir}"
  install -D -m755 -v "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
}