diff options
author | Christoph Haag | 2024-02-26 13:50:59 +0100 |
---|---|---|
committer | Christoph Haag | 2024-02-26 13:50:59 +0100 |
commit | 6080442d094fa536848ce29e66ee8ae48c7c26b5 (patch) | |
tree | 073c93419522fac9af38b10c0a89e8edd404e36a /PKGBUILD | |
parent | 45b4b8618a2d35e730fbcd74b1405b8811d6cef7 (diff) | |
download | aur-kwin-effect-xrdesktop-git.tar.gz |
clean up some namcap warnings
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,31 +1,31 @@ # Maintainer: Christoph Haag <christoph.haag@collabora.com> -basename=kwin-effect-xrdesktop -pkgname=$basename-git -pkgver=0.16.0.r0.gf0ad888 +_basename=kwin-effect-xrdesktop +pkgname="$_basename"-git +pkgver=0.16.0.r15.gd10c341 pkgrel=1 pkgdesc='xrdesktop effect for KWin.' arch=('x86_64') url='https://gitlab.freedesktop.org/xrdesktop/kwin-effect-xrdesktop' -license=('GPL') -depends=(kwin libinputsynth-git xrdesktop-git) +license=('GPL-2.0-or-later') +depends=('kwin' 'libinputsynth-git' 'xrdesktop-git' 'gcc-libs' 'glibc' 'g3k-git' 'gxr-git' 'graphene' 'gulkan-git') makedepends=('extra-cmake-modules' 'git' 'vulkan-headers') source=('git+https://gitlab.freedesktop.org/xrdesktop/kwin-effect-xrdesktop.git#branch=main') md5sums=('SKIP') pkgver() { - cd $basename + cd "$_basename" #printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { - cd $basename + cd "$_basename" mkdir -p build } build() { - cd $basename/build + cd "$_basename"/build cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS:STRING="" \ @@ -38,6 +38,6 @@ build() { } package() { - cd $basename/build + cd "$_basename"/build make DESTDIR="$pkgdir" install } |