[arch-commits] Commit in arch-signoff/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Dec 3 00:41:51 UTC 2021
Date: Friday, December 3, 2021 @ 00:41:50
Author: felixonmars
Revision: 430557
archrelease: copy trunk to staging-any
Added:
arch-signoff/repos/staging-any/
arch-signoff/repos/staging-any/PKGBUILD
(from rev 430555, arch-signoff/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: arch-signoff/repos/staging-any/PKGBUILD (from rev 430555, arch-signoff/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2021-12-03 00:41:50 UTC (rev 430557)
@@ -0,0 +1,38 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=arch-signoff
+pkgver=0.5.2
+pkgrel=2
+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')
+makedepends=('python-setuptools-scm' 'asciidoc' 'git')
+checkdepends=('python-pytest-pacman' 'python-pytest' 'python-pytest-cov')
+groups=('archlinux-tools')
+source=("$pkgname::git+https://github.com/archlinux/arch-signoff.git?signed#tag=$pkgver")
+validpgpkeys=(
+ 'E499C79F53C96A54E572FEE1C06086337C50773E' # Jelle van der Waa
+)
+md5sums=('SKIP')
+
+build() {
+ cd "$pkgname"
+ python setup.py build
+ make -C man
+}
+
+check() {
+ cd "$pkgname"
+ make test
+}
+
+package() {
+ cd "$pkgname"
+ 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