diff options
author | gbr | 2017-05-21 01:49:03 -0700 |
---|---|---|
committer | gbr | 2017-05-21 01:49:03 -0700 |
commit | cb78e339101401ad7db954f6db9d44caea26badc (patch) | |
tree | 5178ea50dceac4cf063cf99e39242b94a5d90788 | |
download | aur-cb78e339101401ad7db954f6db9d44caea26badc.tar.gz |
0.7.0.r95.gcace06d
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..927d5e38aa9a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = xfce4-xkb-plugin-git + pkgdesc = Plugin to switch keyboard layouts for the Xfce4 panel + pkgver = 0.7.0.r95.gcace06d + pkgrel = 1 + url = http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin + arch = i686 + arch = x86_64 + license = custom + makedepends = intltool + depends = xfce4-panel + depends = libxklavier + depends = librsvg + conflicts = xfce4-xkb-plugin + source = xfce4-xkb-plugin-git::git://git.xfce.org/panel-plugins/xfce4-xkb-plugin + sha256sums = SKIP + +pkgname = xfce4-xkb-plugin-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c40dc9dc29af --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: gbr <gbr@protonmail.com> +_pkgname='xfce4-xkb-plugin' +pkgname='xfce4-xkb-plugin-git' +pkgver='0.7.0.r95.gcace06d' +pkgrel=1 +pkgdesc='Plugin to switch keyboard layouts for the Xfce4 panel' +arch=('i686' 'x86_64') +url='http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin' +license=('custom') +depends=('xfce4-panel' 'libxklavier' 'librsvg') +makedepends=('intltool') +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: |