diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9d94848ab2b7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = reportbug + pkgdesc = report bugs in the Debian distribution + python modules + pkgver = 6.4.3 + pkgrel = 1 + url = http://packages.debian.org/sid/reportbug + arch = any + license = MIT + depends = python2-debian + depends = python2-debianbts + depends = python2-support + depends = apt + provides = python2-reportbug=6.4.3 + conflicts = python2-reportbug + options = !emptydirs + source = http://ftp.debian.org/debian/pool/main/r/reportbug/reportbug_6.4.3.tar.bz2 + md5sums = f6478b830615438232d8a64d47b55ee8 + +pkgname = reportbug + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..bd9b4a41adc0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +*.tar.gz +*.tar.xz +*.tgz +*.rpm +*.zip +*.bz2 +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5a88bca17324 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor: Johannes Dewender arch at JonnyJD dot net +pkgname=reportbug +_python=python2 +pkgver=6.4.3 +pkgrel=1 +pkgdesc="report bugs in the Debian distribution + python modules" +arch=('any') +url="http://packages.debian.org/sid/reportbug" +license=('MIT') +depends=('python2-debian' 'python2-debianbts' 'python2-support' 'apt') +provides=('python2-reportbug=6.4.3') +conflicts=('python2-reportbug') +options=(!emptydirs) +source=(http://ftp.debian.org/debian/pool/main/r/$pkgname/${pkgname}_$pkgver.tar.bz2) +md5sums=('f6478b830615438232d8a64d47b55ee8') + +build() { + cd "$srcdir/$pkgname-$pkgver" + $_python setup.py build +} +package() { + cd "$srcdir/$pkgname-$pkgver" + $_python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |