Add licenses
This commit is contained in:
@@ -23,4 +23,8 @@ build() {
|
|||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
DESTDIR="$BPM_OUTPUT" python3 x.py install
|
DESTDIR="$BPM_OUTPUT" python3 x.py install
|
||||||
|
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYRIGHT "$BPM_OUTPUT"/usr/share/licenses/COPYRIGHT
|
||||||
|
install -Dm644 "$BPM_SOURCE"/LICENSE-MIT "$BPM_OUTPUT"/usr/share/licenses/LICENSE-MIT
|
||||||
|
install -Dm644 "$BPM_SOURCE"/LICENSE-APACHE "$BPM_OUTPUT"/usr/share/licenses/LICENSE-APACHE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user