Update package version to 1.1.6
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: appstream
|
||||
description: Package providing the foundations to build software-center applications
|
||||
version: 1.1.3
|
||||
revision: 2
|
||||
version: 1.1.6
|
||||
revision: 1
|
||||
url: https://www.freedesktop.org/wiki/Distributions/AppStream/
|
||||
license: LGPL2.1-or-later
|
||||
maintainers:
|
||||
@@ -36,10 +36,10 @@ make_depends:
|
||||
- vala
|
||||
- xmlto
|
||||
downloads:
|
||||
- url: https://www.freedesktop.org/software/appstream/releases/AppStream-${BPM_PKG_VERSION}.tar.xz
|
||||
- url: https://github.com/ximion/appstream/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 2
|
||||
checksum: 2624f967068427edc94f3979edae3571bb077063f5bc231f737776da527bf467
|
||||
extract_strip_components: 1
|
||||
checksum: f9b79193d2620474bb48d0cd32abd76e002939fce3daa991a1b60642eecbb67f
|
||||
split_packages:
|
||||
- name: appstream
|
||||
- name: appstream-qt
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
meson setup --prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
-Dapidocs=true \
|
||||
-Dvapi=true \
|
||||
-Dsystemd=false \
|
||||
-Dstemming=false \
|
||||
-Dqt=true build
|
||||
meson setup build --prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
-Dapidocs=true \
|
||||
-Dvapi=true \
|
||||
-Dsystemd=false \
|
||||
-Dstemming=false \
|
||||
-Dqt=true
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
@@ -38,6 +38,9 @@ package_appstream() {
|
||||
_pick appstream-qt usr/lib/cmake
|
||||
_pick appstream-qt usr/lib/libAppStreamQt.*
|
||||
|
||||
# Install bpm hook
|
||||
install -Dm644 "$BPM_WORKDIR"/update-appstream-cache.bpmhook "$BPM_OUTPUT"/var/lib/bpm/hooks/update-appstream-cache.bpmhook
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/appstream/COPYING
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
trigger_actions: ["install", "upgrade", "remove"]
|
||||
targets:
|
||||
- "usr/share/app-info/*"
|
||||
- "/usr/share/swcatalog/*"
|
||||
run: /usr/bin/appstreamcli refresh-cache --force
|
||||
Reference in New Issue
Block a user