1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

link to usr/bin, add license

This commit is contained in:
Harvey Tindall 2020-08-19 16:11:06 +01:00
parent cee5489da6
commit 681d2ce38d
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ data/*.txt
dist/*
jfa-go
build/
pkg/

View File

@ -36,4 +36,7 @@ package() {
make copy
install -d "$pkgdir"/opt
make install DESTDIR="$pkgdir"/opt
mkdir -p "$pkgdir"/usr/bin
ln -s "$pkgdir"/opt/$pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}