summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b796306661654595a8f221852516036ed84c501 (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
# Maintainer: Benjamin Copeland <ben@copeland.me.uk>

pkgname=conkyclementine-bzr
pkgver=r8
pkgrel=1
pkgdesc="Provides Clementine info, for use in Conky."
arch=('i686' 'x86_64')
url="https://code.launchpad.net/~conky-companions/+junk/conkyclementine"
license=('GPL3')
depends=('python2')
makedepends=('bzr')
install=$pkgname.install
source=('bzr+lp:~conky-companions/+junk/conkyclementine')
md5sums=(SKIP)

pkgver() {
  cd conkyclementine
  echo "r$(bzr revno)"
}

build() {
  cd conkyclementine
  python setup.py build || return 1

}

package() {
  cd conkyclementine
  python setup.py install --root=$pkgdir || return 1
  install -D -m644 README $pkgdir/usr/share/conkyclementine/README || return 1
  return 0
}