[arch-commits] Commit in xkcdpass/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:44:07 UTC 2020
Date: Thursday, November 12, 2020 @ 17:44:07
Author: felixonmars
Revision: 752787
archrelease: copy trunk to community-staging-any
Added:
xkcdpass/repos/community-staging-any/
xkcdpass/repos/community-staging-any/PKGBUILD
(from rev 752785, xkcdpass/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: xkcdpass/repos/community-staging-any/PKGBUILD (from rev 752785, xkcdpass/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:44:07 UTC (rev 752787)
@@ -0,0 +1,37 @@
+# Maintainer: Alad Wenter <alad at archlinux.org>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Perttu Luukko <perttu.luukko at iki.fi>
+
+pkgname=xkcdpass
+_pkgname='XKCD-password-generator'
+pkgver=1.17.3
+pkgrel=3
+pkgdesc='Generate secure passphares inspired by XKCD'
+arch=('any')
+url='https://github.com/redacted/XKCD-password-generator'
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+optdepends=('cracklib: alternative wordlist'
+ 'words: alternative wordlist')
+source=("$url/archive/$pkgname-$pkgver.tar.gz")
+sha256sums=('793aa1803360033cefa24b386abb0f11f815ffd95824026605fe398e98f9efd4')
+
+build() {
+ cd "$_pkgname-$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$_pkgname-$pkgname-$pkgver"
+ nosetests tests
+}
+
+package() {
+ cd "$_pkgname-$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+
+ install -m644 -D LICENSE.BSD "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -m644 -D xkcdpass.1 "$pkgdir/usr/share/man/man1/xkcdpass.1"
+}
More information about the arch-commits
mailing list