mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
community/xfce4-xkb-plugin: upgrade to 0.9.0, switch to meson
This commit is contained in:
parent
ec1f4c8a5d
commit
f7f3757b2e
1 changed files with 13 additions and 14 deletions
|
@ -1,11 +1,11 @@
|
|||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=xfce4-xkb-plugin
|
||||
pkgver=0.8.3
|
||||
pkgver=0.9.0
|
||||
_maj=${pkgver%%.*}
|
||||
_min=${pkgver#$_maj.}
|
||||
_min=${_min%%.*}
|
||||
_ver=$_maj.$_min
|
||||
pkgrel=1
|
||||
pkgrel=0
|
||||
pkgdesc="plugin to switch keyboard layouts for the Xfce4 panel"
|
||||
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"
|
||||
arch="all"
|
||||
|
@ -23,29 +23,28 @@ makedepends="
|
|||
libxi-dev
|
||||
libxkbfile-dev
|
||||
libxklavier-dev
|
||||
meson
|
||||
xfce4-panel-dev
|
||||
"
|
||||
subpackages="$pkgname-doc $pkgname-lang"
|
||||
source="https://archive.xfce.org/src/panel-plugins/xfce4-xkb-plugin/$_ver/xfce4-xkb-plugin-$pkgver.tar.bz2"
|
||||
source="https://archive.xfce.org/src/panel-plugins/xfce4-xkb-plugin/$_ver/xfce4-xkb-plugin-$pkgver.tar.xz"
|
||||
options="!check" # No test suite
|
||||
|
||||
build() {
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libexecdir=/usr/lib \
|
||||
--localstatedir=/var \
|
||||
--disable-static
|
||||
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
|
||||
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
02ae82a1e01b7cc54154545c6ff42a450a81ba44697620ebb716a663300ea08fbf6ccafc5fd4d710791f142e1c249f17b613d90ffd99025ad97dfa0230ee55b2 xfce4-xkb-plugin-0.8.3.tar.bz2
|
||||
60176643ec29c0fc035f6f5bc22e04b103acdea6868b222784e7189219d6fd90d75ab27f3c494822777ec4749a34d31bac199f688f75431202001738471aeb49 xfce4-xkb-plugin-0.9.0.tar.xz
|
||||
"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue