Add comments, move documentation directory and add license
This commit is contained in:
@@ -15,7 +15,9 @@ prepare() {
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
# Fix perl warning
|
||||
sed -i 's:\\\${:\\\$\\{:' intltool-update.in
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
@@ -30,5 +32,10 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
install -v -Dm644 doc/I18N-HOWTO "$BPM_OUTPUT"/usr/share/doc/intltool-0.51.0/I18N-HOWTO
|
||||
|
||||
# Install documentation file
|
||||
install -Dm644 doc/I18N-HOWTO "$BPM_OUTPUT"/usr/share/doc/intltool/I18N-HOWTO
|
||||
|
||||
# Install package license
|
||||
install -Dm644 COPYING "$BPM_OUTPUT"/usr/share/licenses/intltool/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user