upgpkg: devscripts 2.17.5-2
- Moving dch symlink creation to PKGBUILD, remove install file (fixes #2) - Changing checksums to SHA-256
This commit is contained in:
9
.SRCINFO
9
.SRCINFO
@@ -1,11 +1,10 @@
|
|||||||
# Generated by mksrcinfo v8
|
# Generated by mksrcinfo v8
|
||||||
# Wed May 17 10:43:24 UTC 2017
|
# Fri May 26 09:32:15 UTC 2017
|
||||||
pkgbase = devscripts
|
pkgbase = devscripts
|
||||||
pkgdesc = Scripts to make the life of a Debian Package maintainer easier
|
pkgdesc = Scripts to make the life of a Debian Package maintainer easier
|
||||||
pkgver = 2.17.5
|
pkgver = 2.17.5
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://packages.qa.debian.org/d/devscripts.html
|
url = http://packages.qa.debian.org/d/devscripts.html
|
||||||
install = devscripts.install
|
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL2
|
license = GPL2
|
||||||
@@ -32,8 +31,8 @@ pkgbase = devscripts
|
|||||||
options = !makeflags
|
options = !makeflags
|
||||||
source = devscripts-2.17.5::git+https://anonscm.debian.org/git/collab-maint/devscripts.git#tag=v2.17.5
|
source = devscripts-2.17.5::git+https://anonscm.debian.org/git/collab-maint/devscripts.git#tag=v2.17.5
|
||||||
source = fixes.patch
|
source = fixes.patch
|
||||||
md5sums = SKIP
|
sha256sums = SKIP
|
||||||
md5sums = de3998900102b9e490fdb7f6d8e6f9dd
|
sha256sums = 9d038e5425848734874a03e2bdc0c8b86b1f42e9626f37dd916c1b7d73ad9141
|
||||||
|
|
||||||
pkgname = devscripts
|
pkgname = devscripts
|
||||||
|
|
||||||
|
|||||||
10
PKGBUILD
10
PKGBUILD
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
pkgname=devscripts
|
pkgname=devscripts
|
||||||
pkgver=2.17.5
|
pkgver=2.17.5
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Scripts to make the life of a Debian Package maintainer easier"
|
pkgdesc="Scripts to make the life of a Debian Package maintainer easier"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://packages.qa.debian.org/d/devscripts.html"
|
url="http://packages.qa.debian.org/d/devscripts.html"
|
||||||
@@ -33,9 +33,8 @@ source=(
|
|||||||
"${pkgname}-${pkgver}::git+https://anonscm.debian.org/git/collab-maint/devscripts.git#tag=v${pkgver}"
|
"${pkgname}-${pkgver}::git+https://anonscm.debian.org/git/collab-maint/devscripts.git#tag=v${pkgver}"
|
||||||
fixes.patch
|
fixes.patch
|
||||||
)
|
)
|
||||||
install='devscripts.install'
|
sha256sums=('SKIP'
|
||||||
md5sums=('SKIP'
|
'9d038e5425848734874a03e2bdc0c8b86b1f42e9626f37dd916c1b7d73ad9141')
|
||||||
'de3998900102b9e490fdb7f6d8e6f9dd')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
@@ -47,6 +46,9 @@ package() {
|
|||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
|
|
||||||
|
# Create dch symlink to debchange
|
||||||
|
ln -s /usr/bin/debchange "$pkgdir/usr/bin/dch"
|
||||||
|
|
||||||
# bts completion is present already in the official package
|
# bts completion is present already in the official package
|
||||||
rm "$pkgdir/usr/share/bash-completion/completions/bts"
|
rm "$pkgdir/usr/share/bash-completion/completions/bts"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
post_install() {
|
|
||||||
ln -s /usr/bin/debchange /usr/bin/dch
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
post_remove() {
|
|
||||||
rm /usr/bin/dch
|
|
||||||
}
|
|
||||||
|
|
||||||
op=$1
|
|
||||||
shift
|
|
||||||
|
|
||||||
$op $*
|
|
||||||
Reference in New Issue
Block a user