blob: 21d6072bbf0a400a50a62412116a127e07fc6c68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Your Name <youremail@domain.com>
pkgname=pshash
pkgver=0.1.13.1
pkgrel=1
epoch=
pkgdesc="A functional pseudo-hash password generator"
arch=('any')
url="https://github.com/thornoar/pshash"
license=('MIT')
groups=()
depends=()
makedepends=('ghc')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("Main.hs::https://raw.githubusercontent.com/thornoar/pshash/master/app/Main.hs"
"README.md::https://raw.githubusercontent.com/thornoar/pshash/master/README.md"
"LICENSE::https://raw.githubusercontent.com/thornoar/pshash/master/LICENSE")
noextract=("Main.hs")
validpgpkeys=()
build() {
ghc ./Main.hs -no-keep-o-files -no-keep-hi-files -o ./pshash
}
package() {
install -Dm755 ./$pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 ./README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha256sums=('5e683b0e46d49ea96ac56247e60abb9b397cd389a47e7a03dd9959cca0418cf4'
'8c6ecab033182455e5b9d04c9b2b4fd40b55cec565567fff8957481e73879d27'
'92e498dfdf4478c5d306c11af29b375797420464964efda7329d27a8025af6bb')
|