summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 243238d1b18e96ed52d4d56da37f433038a37a89 (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: Nanda Okitavera <codeharuka.yusa@gmail.com>
pkgname=clearine-git
pkgver=0.7
pkgrel=3
pkgdesc="Beautiful Logout UI for X11 window manager"
arch=('any')
url="https://github.com/okitavera/clearine"
license=('MIT')
depends=('python-gobject' 'python-cairo')
makedepends=('git')
backup=('etc/clearine.conf')
source=("clearine-git::git+https://github.com/okitavera/clearine.git")
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags --abbrev=0
}

package() {
  cd $pkgname
  python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
  install -d -m755 $pkgdir/etc/
  install -S -m644 $pkgdir/usr/share/clearine/clearine.conf $pkgdir/etc/
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/clearine/LICENSE.md"
}