summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ded8627265c3af55c1fd5c692c19dd98858b7f1 (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
# Maintainer: Muflone https://www.muflone.com/contacts/english/

pkgname=bluewho
pkgver=0.5.0
pkgrel=1
pkgdesc="Information and notification of new discovered bluetooth devices"
url="https://www.muflone.com/bluewho"
arch=('any')
license=('GPL3')
depends=('gtk3' 'gobject-introspection' 'libnotify'
         'python-dbus' 'python-xdg' 'python-gobject' 'python-bluezero')
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')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/muflone/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('013b4651931aec2c2594badcafbc9f856f6b760bf61f86ef070023f93230d486')

build() {
  cd "${pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${pkgname}-${pkgver}"
  python setup.py install --optimize=1 --root "${pkgdir}"
}