summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKirill2018-05-23 11:51:29 +0300
committerKirill2018-05-23 11:51:29 +0300
commit5f7e7e5f3f10a39317235bd37ceb98bc44c5ea1a (patch)
treef8f9490ea828fdf30b8aab12871a47668918ae03 /PKGBUILD
downloadaur-5f7e7e5f3f10a39317235bd37ceb98bc44c5ea1a.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0adc41d05f2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Kovshov K.A. <kirillnow at gmail dot com>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+
+pkgname=secpwgen
+pkgver=1.3
+pkgrel=4
+pkgdesc="Secure password generator"
+url='http://zvrba.net/'
+arch=('x86_64')
+license=('MIT')
+makedepends=('openssl')
+source=("https://github.com/itoffshore/$pkgname/archive/v$pkgver.tar.gz"
+ "make-openssl.patch")
+sha512sums=('a18b5405ae5f6a62c25dd61654ea897b2f099fa459530bc6cfdbe79d96bfa6b4943e4ba2456ad5355d37cababe585299638afe56ff1a9fc649b6df0b7aa1e269'
+ 'SKIP')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 < "${srcdir}/make-openssl.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ mv Makefile.proto Makefile
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ mkdir -p "$pkgdir"/usr/bin \
+ "$pkgdir"/usr/share/man/man1
+ install -m 755 secpwgen "$pkgdir"/usr/bin
+ install -m 644 secpwgen.1 "$pkgdir"/usr/share/man/man1
+} \ No newline at end of file