diff --git a/.gitignore b/.gitignore index 924bc9a..6615d3c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ data/*.txt dist/* jfa-go build/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD index dde473d..8572eee 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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 }