* update libxklavier to 5.4-5
This commit is contained in:
parent
db84c5ee27
commit
0af6ead419
@ -1,34 +1,32 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
|
||||
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||
# Contributor: Arjan Timmerman <arjan@archlinux.org>
|
||||
|
||||
pkgname=libxklavier
|
||||
pkgver=5.4
|
||||
pkgrel=4
|
||||
pkgdesc="High-level API for X Keyboard Extension"
|
||||
pkgrel=5
|
||||
pkgdesc='High-level API for X Keyboard Extension (deprecated)'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://www.freedesktop.org/wiki/Software/LibXklavier/'
|
||||
license=('LGPL')
|
||||
depends=('glib2' 'libxkbfile' 'libxml2' 'xkeyboard-config' 'libxi' 'iso-codes')
|
||||
makedepends=('gobject-introspection' 'intltool' 'gtk-doc' 'libxfixes' git)
|
||||
options=('!emptydirs')
|
||||
url="https://www.freedesktop.org/wiki/Software/LibXklavier/"
|
||||
_commit=396955bd2ba2db34a42b3807b03155fcc11dfe50 # tags/libxklavier-5.4^0
|
||||
source=("git+https://anongit.freedesktop.org/git/libxklavier#commit=$_commit")
|
||||
sha256sums=('SKIP')
|
||||
depends=('glib2' 'glibc' 'iso-codes' 'libx11' 'libxi' 'libxkbfile' 'libxml2' 'xkeyboard-config' 'xorg-xkbcomp')
|
||||
makedepends=('intltool' 'gobject-introspection' 'gtk-doc')
|
||||
source=("https://gitlab.freedesktop.org/archived-projects/$pkgname/-/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.gz")
|
||||
sha256sums=('e1638599e9229e6f6267b70b02e41940b98ba29b3a37e221f6e59ff90100c3da')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
git describe --tags | sed 's/^libxklavier-//;s/-/+/g'
|
||||
prepare() {
|
||||
cd $pkgname-$pkgname-$pkgver
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
./autogen.sh --prefix=/usr --with-xkb-bin-base=/usr/bin \
|
||||
--with-xkb-base=/usr/share/X11/xkb --disable-static --enable-gtk-doc
|
||||
cd $pkgname-$pkgname-$pkgver
|
||||
./configure --prefix=/usr --enable-gtk-doc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
cd $pkgname-$pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user