diff options
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | bluewho.install | 14 |
3 files changed, 19 insertions, 37 deletions
@@ -1,25 +1,23 @@ pkgbase = bluewho pkgdesc = Information and notification of new discovered bluetooth devices - pkgver = 0.2.1 + pkgver = 0.5.2 pkgrel = 1 url = http://www.muflone.com/bluewho - install = bluewho.install arch = any - license = GPL2 + license = GPL3 + makedepends = python-setuptools depends = gtk3 depends = gobject-introspection - depends = python2-xdg - depends = python2-gobject - depends = python2-pybluez - depends = gtk-update-icon-cache + depends = libnotify + depends = python-dbus + depends = python-xdg + depends = python-gobject + depends = python-bluezero optdepends = libcanberra: to play notification sound using canberra-gtk-play optdepends = alsa-utils: to play notification sound using aplay optdepends = libpulse: to play notification sound using paplay optdepends = mplayer: to play notification sound using mplayer - source = bluewho-0.2.1.tar.gz::https://github.com/muflone/bluewho/archive/0.2.1.tar.gz - md5sums = df8ab67e21081bcdc3261596f56bc220 - sha1sums = 5892efeceb079d43583aab344e900bd6ce8a0f51 - sha256sums = dff93c4c88834f6d56bad05851c87890f1a4bc5680642b42d9dd1e9681ab69a8 + source = bluewho-0.5.2.tar.gz::https://github.com/muflone/bluewho/archive/0.5.2.tar.gz + sha256sums = efdfb95ba71f691b5485da69b4a10acef02a4c851f0bcd3e0780bcc3f3aa7a7f pkgname = bluewho - @@ -1,31 +1,29 @@ # Maintainer: Muflone http://www.muflone.com/contacts/english/ pkgname=bluewho -pkgver=0.2.1 +pkgver=0.5.2 pkgrel=1 pkgdesc="Information and notification of new discovered bluetooth devices" url="http://www.muflone.com/bluewho" arch=('any') -license=('GPL2') -depends=('gtk3' 'gobject-introspection' 'python2-xdg' 'python2-gobject' 'python2-pybluez' 'gtk-update-icon-cache') +license=('GPL3') +makedepends=('python-setuptools') +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' - ) + 'mplayer: to play notification sound using mplayer') source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/muflone/${pkgname}/archive/${pkgver}.tar.gz") -md5sums=('df8ab67e21081bcdc3261596f56bc220') -sha1sums=('5892efeceb079d43583aab344e900bd6ce8a0f51') -sha256sums=('dff93c4c88834f6d56bad05851c87890f1a4bc5680642b42d9dd1e9681ab69a8') -install="${pkgname}.install" +sha256sums=('efdfb95ba71f691b5485da69b4a10acef02a4c851f0bcd3e0780bcc3f3aa7a7f') build() { cd "${pkgname}-${pkgver}" - python2 setup.py build + python setup.py build } package() { cd "${pkgname}-${pkgver}" - python2 setup.py install --optimize=1 --root "${pkgdir}" + python setup.py install --optimize=1 --root "${pkgdir}" } diff --git a/bluewho.install b/bluewho.install deleted file mode 100644 index a02985b5a2db..000000000000 --- a/bluewho.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - gtk-update-icon-cache -q /usr/share/icons/hicolor/ - xdg-icon-resource forceupdate - xdg-desktop-menu forceupdate -} - -post_update() { - post_install -} - -post_remove() { - post_install -} - |