Add comments, enable vlock and add license
This commit is contained in:
@@ -15,9 +15,11 @@ prepare() {
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
# Remove resizeicons program
|
||||
sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
|
||||
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
|
||||
./configure --prefix=/usr --disable-vlock
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share/kbd
|
||||
make
|
||||
}
|
||||
|
||||
@@ -31,6 +33,11 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
mkdir -p "$BPM_OUTPUT"/usr/share/doc/kbd
|
||||
cp -R -v docs/doc -T "$BPM_OUTPUT"/usr/share/doc/kbd
|
||||
|
||||
# Install documentation
|
||||
install -d "$BPM_OUTPUT"/usr/share/doc/kbd
|
||||
cp -rv docs/doc -T "$BPM_OUTPUT"/usr/share/doc/kbd
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/kbd/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user