Add PKGBUILD for Arch Linux packaging

This commit is contained in:
Patrick Lühne 2017-11-17 12:00:30 +01:00
parent c66256a262
commit 7ce02b4a1d
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

19
PKGBUILD Normal file
View File

@ -0,0 +1,19 @@
# Maintainer: Patrick Lühne <patrick@luehne.de>
pkgname=random-password
pkgver=1.0.0
pkgrel=1
pkgdesc='Generate random passwords'
arch=('any')
url='https://git.luehne.de/patrick/random-password/'
license=('MIT')
source=('random-password'
'LICENSE.md')
sha512sums=('aa5f9941a3624f7e38f58badca410dc4e7ac90ee1170132fa4326492fdd3737624d57415000e9b32b4c98d24a5a4c9f5de377a6a349790cdc25cfed4063f5d34'
'86caa9074cb188021387bc2c40206346d3ccdfdeff3bc75728ff7712078d8584eed3dfb9a63cacadc4ae3cde54c0006b356ee6fabcffb2d8d18ef9ba46e1f193')
package() {
install -d ${pkgdir}/usr/bin/
install random-password ${pkgdir}/usr/bin/
install -D -m644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}