[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Sun Mar 31 16:33:12 UTC 2019


    Date: Sunday, March 31, 2019 @ 16:33:11
  Author: jelle
Revision: 349501

arch-signoff: initial commit

Added:
  arch-signoff/
  arch-signoff/repos/
  arch-signoff/trunk/
  arch-signoff/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Added: arch-signoff/trunk/PKGBUILD
===================================================================
--- arch-signoff/trunk/PKGBUILD	                        (rev 0)
+++ arch-signoff/trunk/PKGBUILD	2019-03-31 16:33:11 UTC (rev 349501)
@@ -0,0 +1,28 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=arch-signoff
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='Sign off Arch Linux testing packages'
+arch=(any)
+url="https://github.com/archlinux/arch-signoff"
+license=("custom:ISC")
+depends=('python' 'pyalpm' 'python-click' 'python-dateutil'
+         'python-requests' 'python-setuptools')
+makedepends=('python-setuptools-scm' 'asciidoc')
+source=($pkgname-$pkgver.tar.gz::https://github.com/archlinux/arch-signoff/archive/${pkgver}.tar.gz)
+sha512sums=('ec4a45be02fe05af20eba26209400394576da9d836431f1665a406e3d949eb508b1435e8c23abc1e52ffc88f5ffae717738d22cb9ea846cdbd5fa9f26f23f57c')
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+  make -C man
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 "man/signoff.1" "$pkgdir/usr/share/man/man1/signoff.1"
+}


More information about the arch-commits mailing list