summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Dolinar2015-06-09 16:35:50 +0200
committerJan Dolinar2015-06-09 16:35:50 +0200
commitbe80128b723d708c8fb4ee8ec8c4466aaeeabc0b (patch)
treeaf32e27e94c87c1e56ea4c17c56d3bae0ad42bb6
downloadaur-be80128b723d708c8fb4ee8ec8c4466aaeeabc0b.tar.gz
moved from aur3
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD31
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..21e7f7a2612
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = pbuilder-ubuntu
+ pkgdesc = personal package builder for Debian packages
+ pkgver = 0.215ubuntu10
+ pkgrel = 1
+ url = https://launchpad.net/ubuntu/+source/pbuilder
+ arch = any
+ license = GPL
+ depends = debootstrap
+ depends = dpkg
+ depends = coreutils
+ depends = wget
+ depends = debianutils
+ depends = perl-timedate
+ optdepends = ubuntu-keyring: checking release signatures of ubuntu distributions
+ optdepends = debian-archive-keyring: checking release signatures of debian distributions
+ optdepends = debian-keyring: checking release signatures of debian distributions (alternative package)
+ provides = pbuilder
+ conflicts = pbuilder
+ backup = etc/pbuilder/pbuilderrc
+ source = http://archive.ubuntu.com/ubuntu/pool/main/p/pbuilder/pbuilder_0.215ubuntu10_all.deb
+ md5sums = ac77b10c47d73bf374e9efaf61aa9d4e
+
+pkgname = pbuilder-ubuntu
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fbdb3116ac6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+#Maintainer: Jan Dolinar <dolik.rce@gmail.com>
+#Contributor: A. Klitzing <aklitzing@gmail.com>
+
+pkgname=pbuilder-ubuntu
+pkgver=0.215ubuntu10
+pkgrel=1
+pkgdesc="personal package builder for Debian packages"
+arch=(any)
+url="https://launchpad.net/ubuntu/+source/pbuilder"
+license=('GPL')
+depends=('debootstrap' 'dpkg' 'coreutils' 'wget' 'debianutils' 'perl-timedate')
+optdepends=('ubuntu-keyring: checking release signatures of ubuntu distributions'
+ 'debian-archive-keyring: checking release signatures of debian distributions'
+ 'debian-keyring: checking release signatures of debian distributions (alternative package)')
+provides=('pbuilder')
+conflicts=('pbuilder')
+source=(http://archive.ubuntu.com/ubuntu/pool/main/p/pbuilder/pbuilder_${pkgver}_all.deb)
+backup=('etc/pbuilder/pbuilderrc')
+md5sums=('ac77b10c47d73bf374e9efaf61aa9d4e')
+
+package() {
+ ar x pbuilder_${pkgver}_all.deb
+ tar xJf data.tar.xz -C "$pkgdir"
+
+ cp "$pkgdir/usr/share/pbuilder/pbuilderrc" "$pkgdir/etc/pbuilder/pbuilderrc"
+
+ # move the executables to /usr/bin
+ mkdir -p /usr/bin
+ mv "$pkgdir/usr/sbin"/* "$pkgdir/usr/bin/"
+ rmdir "$pkgdir/usr/sbin"
+}