link to usr/bin, add license

pull/20/head
Harvey Tindall 4 years ago
parent cee5489da6
commit 681d2ce38d
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

1
.gitignore vendored

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

@ -36,4 +36,7 @@ package() {
make copy make copy
install -d "$pkgdir"/opt install -d "$pkgdir"/opt
make install DESTDIR="$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
} }

Loading…
Cancel
Save