[arch-commits] Commit in xkcdpass/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 01:09:39 UTC 2019


    Date: Monday, November 4, 2019 @ 01:09:38
  Author: felixonmars
Revision: 522865

archrelease: copy trunk to community-staging-any

Added:
  xkcdpass/repos/community-staging-any/
  xkcdpass/repos/community-staging-any/PKGBUILD
    (from rev 522864, xkcdpass/trunk/PKGBUILD)

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

Copied: xkcdpass/repos/community-staging-any/PKGBUILD (from rev 522864, xkcdpass/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 01:09:38 UTC (rev 522865)
@@ -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=2
+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