diff options
author | gustawho | 2021-03-25 22:50:36 -0700 |
---|---|---|
committer | gustawho | 2021-03-25 22:50:36 -0700 |
commit | dcd5304687d5b65a625667d6062785639350d745 (patch) | |
tree | 4ef3061db5eb6b569f330ed4d58f2db3e04ec113 | |
download | aur-dcd5304687d5b65a625667d6062785639350d745.tar.gz |
Package added
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c9ebcf05c194 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = nx-kwin-decoration-git + pkgdesc = KWin decoration for NX Desktop, by Nitrux SA. + pkgver = r85.9579027 + pkgrel = 1 + url = https://github.com/nx-desktop/nx-window-deco + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = extra-cmake-modules + depends = kcoreaddons + depends = kguiaddons + depends = kconfigwidgets + depends = kwindowsystem + depends = ki18n + depends = kiconthemes + depends = qt5-x11extras + provides = nx-kwin-decoration + provides = nomad-kwin-decoration + provides = nx-window-deco + conflicts = nx-kwin-decoration + conflicts = nomad-kwin-decoration + conflicts = nx-window-deco + source = git+https://github.com/nx-desktop/nx-window-deco.git + sha256sums = SKIP + +pkgname = nx-kwin-decoration-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e80cc5a5755f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > + +pkgname=nx-kwin-decoration-git +pkgver=r85.9579027 +pkgrel=1 +pkgdesc="KWin decoration for NX Desktop, by Nitrux SA." +arch=(x86_64) +url="https://github.com/nx-desktop/nx-window-deco" +license=(GPL3) +depends=('kcoreaddons' 'kguiaddons' 'kconfigwidgets' 'kwindowsystem' + 'ki18n' 'kiconthemes' 'qt5-x11extras') +makedepends=('git' 'extra-cmake-modules') +provides=('nx-kwin-decoration' 'nomad-kwin-decoration' 'nx-window-deco') +conflicts=('nx-kwin-decoration' 'nomad-kwin-decoration' 'nx-window-deco') +source=("git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + cd nx-window-deco + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +build() { + cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S nx-window-deco + make -C build +} + +package() { + make -C build DESTDIR="${pkgdir}" PREFIX=/usr install +} |