mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
link to usr/bin, add license
This commit is contained in:
parent
cee5489da6
commit
681d2ce38d
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@ data/*.txt
|
|||||||
dist/*
|
dist/*
|
||||||
jfa-go
|
jfa-go
|
||||||
build/
|
build/
|
||||||
|
pkg/
|
||||||
|
3
PKGBUILD
3
PKGBUILD
@ -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…
Reference in New Issue
Block a user