[arch-commits] Commit in xkcdpass/repos (community-any community-any/PKGBUILD)
Alad Wenter
alad at archlinux.org
Sun Jan 6 20:31:50 UTC 2019
Date: Sunday, January 6, 2019 @ 20:31:49
Author: alad
Revision: 420752
archrelease: copy trunk to community-any
Added:
xkcdpass/repos/community-any/
xkcdpass/repos/community-any/PKGBUILD
(from rev 420751, xkcdpass/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: xkcdpass/repos/community-any/PKGBUILD (from rev 420751, xkcdpass/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-01-06 20:31:49 UTC (rev 420752)
@@ -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