summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b4afdb57cf0b03c257b515c685890a83881f57d (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
# Maintainer: Naoki Kanazawa <nk dot naoki912 at gmail dot com>
pkgname=qtile-plasma-git
pkgver=v1.5.4.r0.gdaf581f
pkgrel=1
pkgdesc="A flexible, tree-based layout for Qtile"
arch=('any')
license=('MIT')
url='https://github.com/numirias/qtile-plasma'
depends=('python' 'python-setuptools' 'qtile')
makedepends=('python-setuptools' 'git')
source=("${pkgname}::git://github.com/numirias/qtile-plasma.git")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "${srcdir}/${pkgname}"
  python setup.py install --root="${pkgdir}"
  echo "qtile-plasma installed successfully, however it still needs to be enabled in your config"
  echo "See configuration introduction here: https://github.com/numirias/qtile-plasma/blob/master/README.md#installation"
}