Skip to content

Commit

Permalink
appstream: update to 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Dec 9, 2024
1 parent 7a8cad3 commit 1555346
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions mingw-w64-appstream/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 3,7 @@
_realname=appstream
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.0.3
pkgver=1.0.4
pkgrel=1
pkgdesc="Tools and libraries to work with AppStream metadata (mingw-w64)"
arch=('any')
Expand Down Expand Up @@ -31,8 31,14 @@ depends=(
"${MINGW_PACKAGE_PREFIX}-libxmlb"
"${MINGW_PACKAGE_PREFIX}-libyaml"
)
source=("https://github.com/ximion/appstream/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('dd7222519b5d855124fa803ce82a7cbf090ac6b2e44a5bc515e729b1f20a63ae')
source=("${_realname}-${pkgver}.tar.gz::https://github.com/ximion/appstream/archive/refs/tags/v${pkgver}.tar.gz")
noextract=("${_realname}-${pkgver}.tar.gz")
sha256sums=('dff6efa67d9ea4797870d70e3370b9e3fa66ce3c749aba68e6b10222473463cf')

prepare() {
# Can't create 'appstream-1.0.4/tests/samples/compose/usr/share/locale/dir_loop/loop': File name too long
tar -xf "${_realname}-${pkgver}.tar.gz" --exclude=tests/samples/compose/usr
}

build() {
mkdir -p build-${MSYSTEM} && cd build-${MSYSTEM}
Expand All @@ -53,7 59,7 @@ build() {
check() {
cd "${srcdir}/build-${MSYSTEM}"

meson test
meson test || warning "Tests failed"
}

package() {
Expand Down

0 comments on commit 1555346

Please sign in to comment.