Update PKGBUILD with -git dependencies

This commit is contained in:
User8395 2025-08-25 18:19:42 -04:00
parent 0c7d1a632a
commit a43a0cb0e9
2 changed files with 19 additions and 26 deletions

View file

@ -6,15 +6,14 @@ pkgbase = plasma-bigscreen-git
arch = any
license = GPL2
makedepends = cmake
makedepends = extra-cmake-modules
makedepends = extra-cmake-modules-git
makedepends = git
depends = kdeconnect
depends = plasma-nm
depends = plasma-pa
depends = plasma-nano
depends = kdeconnect-git
depends = plasma-nm-git
depends = plasma-pa-git
depends = plasma-nano-git
optdepends = libcec: add USB-CEC support in order to be controlled by TV remotes
optdepends = plasma-remotecontrollers: add setting tab for remote controllers
provides = plasma-bigscreen
conflicts = plasma-bigscreen
source = git+https://invent.kde.org/plasma/plasma-bigscreen.git
md5sums = SKIP

View file

@ -1,4 +1,4 @@
# Maintainer: Archie Meng <archiemeng@protonmail.com>
# Maintainer: User8395 <therealuser8395@proton.me>
pkgname=plasma-bigscreen-git
pkgver=r982.7f70dd7
pkgrel=1
@ -7,38 +7,32 @@ arch=('any')
url="https://plasma-bigscreen.org/"
license=('GPL2')
groups=()
depends=('kdeconnect'
'plasma-nm'
'plasma-pa'
'plasma-nano')
makedepends=('cmake' 'extra-cmake-modules' 'git')
depends=('kdeconnect-git'
'plasma-nm-git'
'plasma-pa-git'
'plasma-nano-git')
makedepends=('cmake' 'extra-cmake-modules-git' 'git')
optdepends=('libcec: add USB-CEC support in order to be controlled by TV remotes'
'plasma-remotecontrollers: add setting tab for remote controllers')
provides=('plasma-bigscreen')
conflicts=('plasma-bigscreen')
replaces=()
backup=()
options=()
install=
source=('git+https://invent.kde.org/plasma/plasma-bigscreen.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/plasma-bigscreen"
printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
cd "plasma-bigscreen"
printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/plasma-bigscreen"
cmake -B build \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_BUILD_TYPE=Release
cd "plasma-bigscreen"
cmake -B build \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_BUILD_TYPE=Release
cmake --build build --target all
cmake --build build --target all
}
package() {
cmake --install "$srcdir/plasma-bigscreen/build" --prefix "$pkgdir/usr"
cmake --install "plasma-bigscreen/build" --prefix "$pkgdir/usr"
}