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