blob: f88fff3d59bf3b424aa6a11aa2d931d17bd4c8cc (
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
|
# Maintainer: Mao Wtm <m@maowtm.org>
pkgname=go-ecbpass
pkgver=1.01
pkgrel=1
pkgdesc="A tool to generate pseudorandom, deterministic passwords."
arch=(x86_64)
url="https://github.com/micromaomao/go-ecbpass"
license=('MIT')
makedepends=('go' 'asciidoc' 'docbook2x')
source=("$pkgname-src::git+https://github.com/micromaomao/go-ecbpass.git")
sha256sums=("SKIP")
build() {
mkdir -p go/src/github.com/micromaomao/
cp -r $pkgname-src go/src/github.com/micromaomao/$pkgname
cd go
export GOPATH=$(pwd)
cd src/github.com/micromaomao/$pkgname
go get -v
go install
cd doc
make
cd $GOPATH/..
}
package() {
install -s -DT go/bin/go-ecbpass $pkgdir/usr/bin/go-ecbpass
install -DT go/src/github.com/micromaomao/go-ecbpass/doc/go-ecbpass.1 $pkgdir/usr/share/man/man1/go-ecbpass.1
}
|