summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Dolinar2015-06-09 16:37:22 +0200
committerJan Dolinar2015-06-09 16:37:22 +0200
commit85b0875237248b0751f1d125bc7b4368ca4cfb78 (patch)
treeaae0c5a8581dcb9d8a35dca51b671ce16a50c2a6
downloadaur-85b0875237248b0751f1d125bc7b4368ca4cfb78.tar.gz
moved from aur3
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD19
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fdffffb1988
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = dput
+ pkgdesc = Debian package upload tool
+ pkgver = 0.9.6.4
+ pkgrel = 1
+ url = http://packages.qa.debian.org/dput
+ arch = any
+ license = GPL
+ depends = python2
+ depends = gnupg
+ source = http://ftp.debian.org/debian/pool/main/d/dput/dput_0.9.6.4_all.deb
+ sha256sums = 2ac0bcf25c3e64728fdbec3c91c16b305b982861e60780ecadff3b97c90bfa8a
+
+pkgname = dput
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..73bdc2a8dcf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Jan Dolinar <dolik.rce@gmail.com>
+# Contributor: Andre Klitzing <andre () incubo () de>
+pkgname=dput
+pkgver=0.9.6.4
+pkgrel=1
+pkgdesc="Debian package upload tool"
+arch=('any')
+url="http://packages.qa.debian.org/dput"
+license=('GPL')
+depends=('python2' 'gnupg')
+source=(http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}_all.deb)
+sha256sums=('2ac0bcf25c3e64728fdbec3c91c16b305b982861e60780ecadff3b97c90bfa8a')
+
+package() {
+ ar x ${pkgname}_${pkgver}_all.deb
+ tar xzf data.tar.gz -C "$pkgdir/"
+ cd "$pkgdir"
+ sed -i -e '1s|^#!/usr/bin/python$|#!/usr/bin/python2|' $pkgdir/usr/bin/d{c,p}ut
+}