link to usr/bin, add license
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user