blob: 388a046eab648b469daac3e4402325c2fb866b8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#Maintainer Mike Harris <mike.a.harris@outlook.com>
pkgname=plasma5-applets-kde-arch-update-notifier-git
pkgver=7.2.1.r0.ge011f5b
pkgrel=1
pkgdesc="A KDE plasmoid for your system tray notifying you of available updates with AUR Support"
url="https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid"
arch=('x86_64')
license=('GPL')
depends=("fakeroot" "konsole" "pacman-contrib" "plasma-desktop" "plasma-framework")
optdepends=("checkupdates-aur" "snapd" "yakuake")
makedepends=("make" "cmake" "git" "extra-cmake-modules")
conflicts=()
replaces=()
backup=()
install=
source=("git+https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid.git")
md5sums=("SKIP")
pkgver() {
cd "$srcdir/kde-arch-update-plasmoid"
# cutting off 'foo-' prefix that presents in the git tag
printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')"
}
build() {
cd kde-arch-update-plasmoid
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
}
package(){
cd ${srcdir}/kde-arch-update-plasmoid/build
make DESTDIR="$pkgdir" install
}
|