mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
community/xfce4-stopwatch-plugin: upgrade to 0.6.0, switch to meson
This commit is contained in:
parent
172c4694ea
commit
ec1f4c8a5d
1 changed files with 17 additions and 13 deletions
|
@ -1,31 +1,35 @@
|
|||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
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
|
||||
"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue