diff --git a/pkg.info b/pkg.info index 9c709a6..70931d3 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,9 @@ name: which description: Executable path locator utility version: 2.21 +revision: 2 url: https://savannah.gnu.org/projects/which license: GPL3 architecture: any +depends: ["bash","glibc"] type: source diff --git a/source.sh b/source.sh index b0ddca0..5e0fe81 100644 --- a/source.sh +++ b/source.sh @@ -23,4 +23,7 @@ build() { # This function is used to move the compiled files into the output directory package() { make DESTDIR="$BPM_OUTPUT" install + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/which/COPYING }