13.11.7
This commit is contained in:
10
.SRCINFO
10
.SRCINFO
@@ -1,8 +1,8 @@
|
|||||||
pkgbase = debhelper
|
pkgbase = debhelper
|
||||||
pkgdesc = A collection of programs that can be used in a debian/rules file to automate common tasks
|
pkgdesc = A collection of programs that can be used in a debian/rules file to automate common tasks
|
||||||
pkgver = 13.11.5
|
pkgver = 13.11.7
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://salsa.debian.org/debian/debhelper.git/
|
url = https://salsa.debian.org/debian/debhelper
|
||||||
arch = any
|
arch = any
|
||||||
license = GPL2
|
license = GPL2
|
||||||
license = GPL3
|
license = GPL3
|
||||||
@@ -20,9 +20,9 @@ pkgbase = debhelper
|
|||||||
optdepends = dh-make: convert source archives into Debian package source
|
optdepends = dh-make: convert source archives into Debian package source
|
||||||
provides = dh-strip-nondeterminism
|
provides = dh-strip-nondeterminism
|
||||||
conflicts = dh-strip-nondeterminism
|
conflicts = dh-strip-nondeterminism
|
||||||
source = git+https://salsa.debian.org/debian//debhelper.git#tag=debian/13.11.5
|
source = git+https://salsa.debian.org/debian/debhelper.git#tag=debian/13.11.7
|
||||||
source = dh_strip_nondeterminism::https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/raw/master/bin/dh_strip_nondeterminism?inline=false
|
source = dh_strip_nondeterminism::https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/raw/master/bin/dh_strip_nondeterminism?inline=false
|
||||||
md5sums = SKIP
|
sha256sums = SKIP
|
||||||
md5sums = SKIP
|
sha256sums = SKIP
|
||||||
|
|
||||||
pkgname = debhelper
|
pkgname = debhelper
|
||||||
|
|||||||
59
PKGBUILD
59
PKGBUILD
@@ -4,15 +4,17 @@
|
|||||||
# Contributor: Charles Pigott <charlespigott@googlemail.com>
|
# Contributor: Charles Pigott <charlespigott@googlemail.com>
|
||||||
# Contributor: Andrei "Garoth" Thorp <garoth "at the nice" gmail "dot" com>
|
# Contributor: Andrei "Garoth" Thorp <garoth "at the nice" gmail "dot" com>
|
||||||
|
|
||||||
_pkgname=debhelper
|
_pkgname="debhelper"
|
||||||
pkgname="$_pkgname"
|
pkgname="$_pkgname"
|
||||||
pkgver=13.11.5
|
pkgver=13.11.7
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A collection of programs that can be used in a debian/rules file to automate common tasks"
|
pkgdesc="A collection of programs that can be used in a debian/rules file to automate common tasks"
|
||||||
arch=('any')
|
url="https://salsa.debian.org/debian/debhelper"
|
||||||
url="https://salsa.debian.org/debian/debhelper.git/"
|
|
||||||
_url_dh_strip_nondeterminism="https://salsa.debian.org/reproducible-builds/strip-nondeterminism"
|
|
||||||
license=('GPL2' 'GPL3')
|
license=('GPL2' 'GPL3')
|
||||||
|
arch=('any')
|
||||||
|
|
||||||
|
_url_dh_strip_nondeterminism="https://salsa.debian.org/reproducible-builds/strip-nondeterminism"
|
||||||
|
|
||||||
depends=(
|
depends=(
|
||||||
'binutils'
|
'binutils'
|
||||||
'dpkg'
|
'dpkg'
|
||||||
@@ -34,28 +36,45 @@ optdepends=(
|
|||||||
'dh-make: convert source archives into Debian package source'
|
'dh-make: convert source archives into Debian package source'
|
||||||
)
|
)
|
||||||
|
|
||||||
provides=('dh-strip-nondeterminism')
|
if [ x"$pkgname" == x"$_pkgname" ] ; then
|
||||||
conflicts=('dh-strip-nondeterminism')
|
# normal package
|
||||||
|
_pkgsrc="$_pkgname"
|
||||||
|
source=("git+$url.git#tag=debian/${pkgver%%.r*}")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
source=(
|
pkgver() {
|
||||||
"git+https://salsa.debian.org/debian//debhelper.git#tag=debian/$pkgver"
|
echo "${pkgver%%.r*}"
|
||||||
dh_strip_nondeterminism::"${_url_dh_strip_nondeterminism}/-/raw/master/bin/dh_strip_nondeterminism?inline=false"
|
}
|
||||||
)
|
else
|
||||||
md5sums=(
|
# git package
|
||||||
'SKIP'
|
provides=("$_pkgname")
|
||||||
'SKIP'
|
conflicts=("$_pkgname")
|
||||||
)
|
|
||||||
|
_pkgsrc="$_pkgname"
|
||||||
|
source=("$_pkgsrc"::"git+$url.git")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$_pkgsrc"
|
||||||
|
git describe --long --tags | sed 's/^debian\///;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
provides+=("dh-strip-nondeterminism")
|
||||||
|
conflicts+=("dh-strip-nondeterminism")
|
||||||
|
|
||||||
|
source+=("dh_strip_nondeterminism"::"$_url_dh_strip_nondeterminism/-/raw/master/bin/dh_strip_nondeterminism?inline=false")
|
||||||
|
sha256sums+=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$_pkgsrc"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$_pkgsrc"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="${pkgdir:?}" install
|
||||||
|
install -Dm755 "${srcdir:?}/dh_strip_nondeterminism" -t "${pkgdir:?}/usr/bin"
|
||||||
install -Dm755 "${srcdir}/dh_strip_nondeterminism" -t "${pkgdir}/usr/bin"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
# vim:set ts=2 sw=2 et:
|
||||||
|
|||||||
Reference in New Issue
Block a user