1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00

community/xfce4-calculator-plugin: upgrade to 0.8.0, switch to meson

This commit is contained in:
fossdd 2025-07-06 10:00:12 +02:00
parent 73fffb6d77
commit 04bcadc0b4

View file

@ -1,36 +1,33 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-calculator-plugin pkgname=xfce4-calculator-plugin
pkgver=0.7.3 pkgver=0.8.0
pkgrel=0 pkgrel=0
pkgdesc="Calculator plugin for the Xfce4 panel" pkgdesc="Calculator plugin for the Xfce4 panel"
url="https://gitlab.xfce.org/panel-plugins/xfce4-calculator-plugin" url="https://gitlab.xfce.org/panel-plugins/xfce4-calculator-plugin"
arch="all" arch="all"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
makedepends="xfce4-panel-dev libxfce4ui-dev" makedepends="
xfce4-panel-dev
meson
libxfce4ui-dev
"
subpackages="$pkgname-lang" subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-calculator-plugin/${pkgver%.*}/xfce4-calculator-plugin-$pkgver.tar.bz2" source="https://archive.xfce.org/src/panel-plugins/xfce4-calculator-plugin/${pkgver%.*}/xfce4-calculator-plugin-$pkgver.tar.xz"
build() { build() {
./configure \ abuild-meson \
--build=$CBUILD \ output .
--host=$CHOST \ meson compile -C output
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static
make
} }
check() { check() {
make check meson test --print-errorlogs -C output
} }
package() { package() {
make DESTDIR="$pkgdir" install DESTDIR="$pkgdir" meson install --no-rebuild -C output
} }
sha512sums=" sha512sums="
f4479cf65e35c1491792d7e74674e41d3e13bf59c73f43fa7b25b83731326ef2627ddfa34a190a799c83a424b3a80760716cb5bcd3fa3dc371a4e42255332dd5 xfce4-calculator-plugin-0.7.3.tar.bz2 524de531cbb9da846596345ebf23691f8a7a2fc02f7f77f3318e70dfde08f9bfd1d920a015391f7d06056edfcf4517b22e05c33afe76345607a53054053d699e xfce4-calculator-plugin-0.8.0.tar.xz
" "