summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c73aaa98fc4c06ce0f0975e06c20f96f061e70e (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
# Maintainer: sudokode <sudokode@gmail.com>

pkgname=seat-inspect-git
pkgver=1.0.r44.553faad
pkgrel=1
pkgdesc="Displays information about seats for users of logind"
arch=('any')
url="https://github.com/spanezz/seat-inspect"
license=('GPL3')
depends=('python' 'python-dbus')
makedepends=('git')
provides=('seat-inspect')
conflicts=('seat-inspect')
source=("$pkgname::git+https://github.com/spanezz/seat-inspect")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname

  printf "%s.r%s.%s\n" "$(git describe)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd $pkgname

  install -Dm755 seat-inspect "$pkgdir/usr/bin/seat-inspect"
}

# vim:set ts=2 sw=2 et: