Update package version to 0.81.90
This commit is contained in:
@@ -18,23 +18,28 @@ build() {
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -D_systemd=false -Dgtk4=false ..
|
||||
ninja
|
||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -D_systemd=false ..
|
||||
meson compile
|
||||
}
|
||||
|
||||
# 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() {
|
||||
cd build
|
||||
ninja test
|
||||
|
||||
meson test
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
cd build
|
||||
DESTDIR="$BPM_OUTPUT" ninja install
|
||||
|
||||
meson install --destdir="$BPM_OUTPUT"
|
||||
|
||||
# Remove etc/profile scripts
|
||||
rm "$BPM_OUTPUT"/etc/profile.d/vte.*
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING.{,L}GPL3 -t "$BPM_OUTPUT"/usr/share/licenses/vte/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user