[arch-commits] Commit in (4 files)
Alad Wenter
alad at archlinux.org
Sun Jan 6 20:29:27 UTC 2019
Date: Sunday, January 6, 2019 @ 20:29:27
Author: alad
Revision: 420751
import
Added:
xkcdpass/
xkcdpass/repos/
xkcdpass/trunk/
xkcdpass/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Added: xkcdpass/trunk/PKGBUILD
===================================================================
--- xkcdpass/trunk/PKGBUILD (rev 0)
+++ xkcdpass/trunk/PKGBUILD 2019-01-06 20:29:27 UTC (rev 420751)
@@ -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.0
+pkgrel=1
+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=('7dcfb2b38f95f173754ecc5ecd5dde08516d4c72be4e2ccdfe5f6685fb7c3c43')
+
+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