blob: 0e6147f04ede83cab597dbc9e6bc05e360e53816 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Maintainer:
# Contributor: Justin Vreeland <vreeland.justin@gmail.com>
# Contributor: Antoine Lubineau <antoine@lubignon.info>
# Contributor: Charles Pigott <charlespigott@googlemail.com>
_pkgname="debhelper"
pkgname="$_pkgname"
pkgver=13.29
pkgrel=1
pkgdesc="Programs to automate common tasks in debian/rules when building Debian packages"
url="https://salsa.debian.org/debian/debhelper"
license=('GPL-2.0-or-later')
arch=('any')
depends=(
'dpkg'
'perl-pod-parser'
)
makedepends=(
'git'
'po4a'
)
optdepends=(
'dh-make: convert source archives into Debian package source'
)
_pkgsrc="$_pkgname"
_pkgsrc_dh_strip_nd="strip-nondeterminism"
source=(
"$_pkgsrc"::"git+$url.git#tag=debian/$pkgver"
"$_pkgsrc_dh_strip_nd"::"git+https://salsa.debian.org/reproducible-builds/strip-nondeterminism.git"
)
sha256sums=(
'b9cbedda1d2e202b8883251daf0479b7a89dcd7d4837533bf5a9ef9745382bb4'
'SKIP'
)
build() {
cd "$_pkgsrc"
make
}
package() {
depends+=(
'binutils'
'file'
'man-db'
'po-debconf' # AUR
'python'
'python-html2text'
'strip-nondeterminism'
)
make -C "$_pkgsrc" DESTDIR="$pkgdir" install
install -Dm755 "$_pkgsrc_dh_strip_nd/bin/dh_strip_nondeterminism" -t "$pkgdir/usr/bin/"
for i in 1 7; do
install "$_pkgsrc"/*.${i} -Dm644 -t "$pkgdir/usr/share/man/man${i}/"
done
}
|