summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Anderson2021-08-25 14:05:25 -0400
committerSean Anderson2021-08-25 14:05:25 -0400
commitc80e8a258597a63fc7cf0d72c088f4b50178317b (patch)
treefa4b11f28682f629a4c23de38fd335f92ef85ee1
downloadaur-c80e8a258597a63fc7cf0d72c088f4b50178317b.tar.gz
Initial commit
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD50
2 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..039a7961b0e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = sbuild
+ pkgdesc = Tool for building Debian binary packages from Debian sources
+ pkgver = 0.81.2
+ pkgrel = 1
+ url = https://salsa.debian.org/debian/sbuild
+ arch = any
+ license = GPL2
+ depends = apt
+ depends = dpkg>=1.20
+ depends = gnupg>=2.1
+ depends = perl-exception-class
+ depends = perl-filesys-df
+ depends = perl-mime-lite
+ depends = perl-yaml-tiny
+ depends = python
+ optdepends = adduser: sbuild-adduser support
+ optdepends = debootstrap: sbuild-createchroot support
+ optdepends = qemu: QEMU support
+ optdepends = python-pexpect: QEMU support
+ optdepends = python-psutil: QEMU support
+ optdepends = schroot>=1.6.0: alternate chroot backend; sbuild support
+ optdepends = smtp-forwarder: mail build logs support
+ source = https://salsa.debian.org/debian/sbuild/-/archive/debian/0.81.2/sbuild-debian-0.81.2.tar.gz
+ sha512sums = d9e5a0157ddfd7df10216f38cc80c99445fdcfec50cfb9428ab35459f0ce85be198f50c0ea0028365f31f5eadb91d6d696ed3f6194fa3c799464f2fd2602fda8
+
+pkgname = sbuild
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a28c3b99335
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Sean Anderson <seanga2@gmail.com>
+pkgname=sbuild
+_tag=debian/0.81.2
+pkgver=${_tag##*/}
+_srcname=$pkgname-${_tag/\//-}
+pkgrel=1
+epoch=
+arch=(any)
+url="https://salsa.debian.org/debian/sbuild"
+license=('GPL2')
+pkgdesc="Tool for building Debian binary packages from Debian sources"
+depends=(
+ apt
+ "dpkg>=1.20"
+ "gnupg>=2.1"
+ perl-exception-class
+ perl-filesys-df
+ perl-mime-lite
+ perl-yaml-tiny
+ python
+)
+optdepends=(
+ "adduser: sbuild-adduser support"
+ "debootstrap: sbuild-createchroot support"
+ "qemu: QEMU support"
+ "python-pexpect: QEMU support"
+ "python-psutil: QEMU support"
+ "schroot>=1.6.0: alternate chroot backend; sbuild support"
+ "smtp-forwarder: mail build logs support"
+)
+source=("$url/-/archive/$_tag/$_srcname.tar.gz")
+sha512sums=('d9e5a0157ddfd7df10216f38cc80c99445fdcfec50cfb9428ab35459f0ce85be198f50c0ea0028365f31f5eadb91d6d696ed3f6194fa3c799464f2fd2602fda8')
+validpgpkeys=()
+
+prepare() {
+ cd "$_srcname"
+ autoupdate
+}
+
+build() {
+ cd "$_srcname"
+ autoreconf -i
+ ./configure --prefix=/usr --sbindir=/usr/bin --localstatedir=/var --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$_srcname"
+ make DESTDIR="$pkgdir/" install
+}