summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2014-12-10 23:47:19 +0100
committerJohannes Dewender2014-12-10 23:47:19 +0100
commit445f4c59645be247978dbff8aad3139a34187234 (patch)
tree6890b31c33a831acc0fd1769deab8fc6c8738e80
parentec7b8aea9d0f4e81cb137632b11bc897ed4af381 (diff)
downloadaur-445f4c59645be247978dbff8aad3139a34187234.tar.gz
reportbug: also ship reportbug.conf
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 01989c98fa6..179e9bd4da1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = reportbug
pkgdesc = report bugs in the Debian distribution + python modules
pkgver = 6.6.1
- pkgrel = 2
+ pkgrel = 3
url = http://packages.debian.org/sid/reportbug
arch = any
license = MIT
@@ -13,6 +13,7 @@ pkgbase = reportbug
provides = python2-reportbug=6.6.1
conflicts = python2-reportbug
options = !emptydirs
+ backup = etc/reportbug.conf
source = http://ftp.debian.org/debian/pool/main/r/reportbug/reportbug_6.6.1.tar.bz2
sha256sums = aff6272f17a05455d94e57b4ce3ce8782519aa3c0e5ec5036af89788df533d31
diff --git a/PKGBUILD b/PKGBUILD
index ebf4b724fd5..2c35baf0b8e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=reportbug
_python=python2
pkgver=6.6.1
-pkgrel=2
+pkgrel=3
pkgdesc="report bugs in the Debian distribution + python modules"
arch=('any')
url="http://packages.debian.org/sid/reportbug"
@@ -12,6 +12,7 @@ depends=('python2-debian' 'python2-debianbts' 'python2-support' 'apt'
provides=("python2-reportbug=$pkgver")
conflicts=('python2-reportbug')
options=(!emptydirs)
+backup=('etc/reportbug.conf')
source=(http://ftp.debian.org/debian/pool/main/r/$pkgname/${pkgname}_$pkgver.tar.bz2)
sha256sums=('aff6272f17a05455d94e57b4ce3ce8782519aa3c0e5ec5036af89788df533d31')
@@ -26,6 +27,7 @@ package() {
mkdir -p $pkgdir/usr/share/man/man1/ $pkgdir/usr/share/man/man5/
install -m644 -t $pkgdir/usr/share/man/man1/ man/*.1
install -m644 -t $pkgdir/usr/share/man/man5/ man/*.5
+ install -Dm644 conf/reportbug.conf $pkgdir/etc/reportbug.conf
}
# vim:set ts=2 sw=2 et: