diff options
author | Christoph Haag | 2024-02-26 13:39:45 +0100 |
---|---|---|
committer | Christoph Haag | 2024-02-26 13:40:22 +0100 |
commit | 9a62fa5e1d78e050f59d98c81c76c134434b7c89 (patch) | |
tree | c16479cee713de0ddc61a547a321db65aa50623a | |
parent | f7762d22103d886ab86e390b4afb8cc003a82cff (diff) | |
download | aur-9a62fa5e1d78e050f59d98c81c76c134434b7c89.tar.gz |
clean up namcap warnings
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 18 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = libinputsynth-git pkgdesc = Synthesize desktop input for X11 and Wayland - pkgver = 0.15.0.65.82a14ed + pkgver = 0.16.0.r75.f369bcf pkgrel = 1 url = https://gitlab.freedesktop.org/xrdesktop/libinputsynth arch = i686 @@ -9,11 +9,15 @@ pkgbase = libinputsynth-git makedepends = meson makedepends = git depends = glib2 + depends = glibc + depends = libinputsynth-git + depends = libx11 + depends = libxi + depends = libxtst depends = xdotool - provides = libinputsynth=0.15.0.65.82a14ed + depends = gcc-libs + provides = libinputsynth=0.16.0.r75.f369bcf conflicts = libinputsynth - options = debug - options = !strip source = git+https://gitlab.freedesktop.org/xrdesktop/libinputsynth.git md5sums = SKIP @@ -2,20 +2,18 @@ _realname='libinputsynth' pkgname="$_realname-git" -pkgver=0.15.0.65.82a14ed +pkgver=0.16.0.r75.f369bcf pkgrel=1 pkgdesc='Synthesize desktop input for X11 and Wayland' arch=('i686' 'x86_64') url='https://gitlab.freedesktop.org/xrdesktop/libinputsynth' -depends=('glib2' 'xdotool') +depends=('glib2' 'glibc' 'libinputsynth-git' 'libx11' 'libxi' 'libxtst' 'xdotool' 'gcc-libs') provides=("$_realname="$pkgver) conflicts=("$_realname") makedepends=('meson' 'git') license=('MIT') -options=('debug' '!strip') - +# options=('debug' '!strip') source=('git+https://gitlab.freedesktop.org/xrdesktop/libinputsynth.git') - md5sums=('SKIP') ver() { @@ -24,20 +22,20 @@ ver() { } pkgver() { - cd $_realname - hash=$(git log --pretty=format:'%h' -n 1) - revision=$(git rev-list --count HEAD) - echo $(ver).$revision.$hash + cd "$_realname" + printf "$(ver).r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" } build() { - cd $_realname + cd "$_realname" rm -rf build - meson build --prefix=/usr/ --libdir=lib + meson setup build --prefix=/usr/ --libdir=lib ninja -C build } package() { - cd $_realname + cd "$_realname" DESTDIR="$pkgdir" ninja -C build install + + install -Dm644 "${srcdir}"/libinputsynth/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE } |