summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD31
-rw-r--r--bluewho.install14
3 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8d4d229914f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = bluewho
+ pkgdesc = Information and notification of new discovered bluetooth devices
+ pkgver = 0.2.1
+ pkgrel = 1
+ url = http://www.muflone.com/bluewho
+ install = bluewho.install
+ arch = any
+ license = GPL2
+ depends = gtk3
+ depends = gobject-introspection
+ depends = python2-xdg
+ depends = python2-gobject
+ depends = python2-pybluez
+ depends = gtk-update-icon-cache
+ 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
+
+pkgname = bluewho
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e64a559a330
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=bluewho
+pkgver=0.2.1
+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')
+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")
+md5sums=('df8ab67e21081bcdc3261596f56bc220')
+sha1sums=('5892efeceb079d43583aab344e900bd6ce8a0f51')
+sha256sums=('dff93c4c88834f6d56bad05851c87890f1a4bc5680642b42d9dd1e9681ab69a8')
+install="${pkgname}.install"
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python2 setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python2 setup.py install --optimize=1 --root "${pkgdir}"
+}
+
diff --git a/bluewho.install b/bluewho.install
new file mode 100644
index 00000000000..a02985b5a2d
--- /dev/null
+++ b/bluewho.install
@@ -0,0 +1,14 @@
+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
+}
+