diff --git a/community/xfce4-stopwatch-plugin/APKBUILD b/community/xfce4-stopwatch-plugin/APKBUILD index 1a6f9062b6e..a8fc0154d34 100644 --- a/community/xfce4-stopwatch-plugin/APKBUILD +++ b/community/xfce4-stopwatch-plugin/APKBUILD @@ -1,31 +1,35 @@ # Maintainer: Natanael Copa pkgname=xfce4-stopwatch-plugin -pkgver=0.5.2 +pkgver=0.6.0 pkgrel=0 pkgdesc="Stopwatch plugin for the Xfce panel" url="https://gitlab.xfce.org/panel-plugins/xfce4-stopwatch-plugin" arch="all" license="BSD-2-Clause" -makedepends="xfce4-panel-dev libxfce4ui-dev gtk+3.0-dev" +makedepends=" + gtk+3.0-dev + libxfce4ui-dev + meson + xfce4-panel-dev + " options="!check" # no testsuite subpackages="$pkgname-lang" -source="https://archive.xfce.org/src/panel-plugins/xfce4-stopwatch-plugin/${pkgver%.*}/xfce4-stopwatch-plugin-$pkgver.tar.bz2" +source="https://archive.xfce.org/src/panel-plugins/xfce4-stopwatch-plugin/${pkgver%.*}/xfce4-stopwatch-plugin-$pkgver.tar.xz" build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make + abuild-meson \ + output . + meson compile -C output +} + +check() { + meson test --print-errorlogs -C output } package() { - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" -8c8120c1b3801c780d8a30293d1c8fb92cf57c5dee323b0d41fbba7c108a78231337815ba0548a0ae78be89a35ea1b6184c49d4013de0185b1e7075aaf5fbc26 xfce4-stopwatch-plugin-0.5.2.tar.bz2 +89319ddece7fb79cb16570b884fe7111db650c09801996c36bdf8a93191e25f935501930536b4aa975e2cf60ad4c39646b89043d18fc71d6b32caa1d13855807 xfce4-stopwatch-plugin-0.6.0.tar.xz "