summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b4e631eb27f3331eb4e6323a3bea1310a5fdc32 (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
34
35
36
# Maintainer: Muflone http://url.muflone.com/contacts

pkgname=bluewho-git
pkgver=0.2.2.ge44b6b9
pkgrel=1
pkgdesc="Information and notification of new discovered bluetooth devices"
url="http://url.muflone.com/bluewho"
arch=('any')
license=('GPL2')
depends=('gtk3' 'gobject-introspection' 'python2-xdg' 'python2-gobject' 'python2-pybluez' 'gtk-update-icon-cache')
optdepends=('libcanberra: to play notification sound using canberra-gtk-play'
            'alsa-utils: to play notification sound using aplay'
            'libpulse: to play notification sound using paplay'
            'mplayer: to play notification sound using mplayer'
           )
provides=('bluewho')
conflicts=('bluewho')
source=("git+https://github.com/muflone/bluewho.git")
md5sums=('SKIP')
install="${pkgname}.install"

pkgver() {
  cd "${pkgname%-*}"
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "${pkgname%-*}"
  python2 setup.py build
}

package() {
  cd "${pkgname%-*}"
  python2 setup.py install --optimize=1 --root "${pkgdir}"
}