blob: 2b28952b9f583aecb3344dd9c82423acd2fb9cff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Igor <f2404@yandex.ru>
# Maintainer: gbr <gbr@protonmail.com>
pkgname='xfce4-xkb-plugin-git'
_pkgname='xfce4-xkb-plugin'
pkgver=0.8.1.r94.g2d3801f
pkgrel=1
pkgdesc='Plugin to switch keyboard layouts for the Xfce4 panel'
arch=('i686' 'x86_64')
url='https://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin'
license=('GPL2')
depends=('xfce4-panel' 'libxklavier' 'librsvg' 'libwnck3')
makedepends=('xfce4-dev-tools')
conflicts=('xfce4-xkb-plugin')
source=("${pkgname}::git://git.xfce.org/panel-plugins/xfce4-xkb-plugin")
sha256sums=('SKIP')
pkgver()
{
cd "${srcdir}/${pkgname}"
git describe --long | sed -r "s/^${_pkgname}-//;s/([^-]*-g)/r\1/;s/-/./g"
}
build()
{
cd "${srcdir}/${pkgname}"
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static \
--disable-debug
make
}
package()
{
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
}
# vim:set ts=4 sw=4 et:
|