summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9719bf32f61e60825d3c1c47cf1c187792c4d2f1 (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
# Maintainer: Tony Fettes <feihaoxiang2014@gmail.com>

pkgname=plasma5-applets-betterinlineclock-git
_gitname=kde-plasmoid-betterinlineclock
pkgver=r24.bbad71b
pkgrel=1
pkgdesc="The hottest clock around on a single line!"
arch=('any')
url="https://github.com/MarianArlt/kde-plasmoid-betterinlineclock"
license=('GPL3')
depends=('plasma-workspace' 'qt5-graphicaleffects')
makedepends=('git')
provides=('plasma5-applets-betterinlineclock')
conflicts=('plasma5-applets-betterinlineclock')
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() {
  cd ${_gitname}
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  install -dm755 "${pkgdir}/usr/share/plasma/plasmoids"
  cp -r ${srcdir}/${_gitname}/org.kde.plasma.betterinlineclock "${pkgdir}/usr/share/plasma/plasmoids"
}