Update package version to 1.12.5
This commit is contained in:
@@ -15,15 +15,22 @@ prepare() {
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
./configure --prefix=/usr --disable-static
|
||||
./configure --prefix=/usr --disable-static --enable-adm64
|
||||
make
|
||||
}
|
||||
|
||||
# The check function is executed in the source directory
|
||||
# This function is used to run tests to verify the package has been compiled correctly
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# 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-PLAIN "$BPM_OUTPUT"/usr/share/licenses/imlib2/COPYING-PLAIN
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/imlib2/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user