summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLartza2015-07-07 14:51:03 +0300
committerLartza2015-07-07 14:51:03 +0300
commita93af545b954a07760e5ae3520d0d1971271cbe7 (patch)
tree9b4126ffb6371b7126a4c16dd48eef63d4e4a040
downloadaur-mpn.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rwxr-xr-xPKGBUILD31
-rwxr-xr-xmpn.install8
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..915a2a994e8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = mpn
+ pkgdesc = MPNotifier is a lightweight client for MPD displaying a popup notification each time a new song is played
+ pkgver = 1.1
+ pkgrel = 2
+ url = http://chadok.info/mpn/
+ install = mpn.install
+ arch = any
+ license = GPL2
+ depends = python2-notify
+ depends = python2-mpd
+ depends = pygtk
+ depends = python2-yaml
+ source = http://chadok.info/mpn/MPNotifier-1.1.tar.gz
+ source = http://chadok.info/darcs/mpn/mpnrc
+ source = http://chadok.info/darcs/mpn/COPYING
+ md5sums = b16ab662f5b8eebd1ad8f32b90a3da8f
+ md5sums = e3a696c3e25a6d1a84665d7c09abfda9
+ md5sums = b234ee4d69f5fce4486a80fdaf4a4263
+
+pkgname = mpn
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..5299457dcba
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Lari <lartza at wippies.com<
+# Contributor: Uwe <keksvernichter at gmail.com>
+pkgname=mpn
+pkgver=1.1
+pkgrel=2
+pkgdesc="MPNotifier is a lightweight client for MPD displaying a popup notification each time a new song is played"
+arch=('any')
+url="http://chadok.info/mpn/"
+license=('GPL2')
+depends=('python2-notify' 'python2-mpd' 'pygtk' 'python2-yaml')
+install=mpn.install
+source=(http://chadok.info/mpn/MPNotifier-$pkgver.tar.gz
+ http://chadok.info/darcs/mpn/mpnrc
+ http://chadok.info/darcs/mpn/COPYING)
+md5sums=('b16ab662f5b8eebd1ad8f32b90a3da8f'
+ 'e3a696c3e25a6d1a84665d7c09abfda9'
+ 'b234ee4d69f5fce4486a80fdaf4a4263')
+
+build() {
+ mkdir -p ${pkgdir}/usr/share/doc/${pkgname}
+ mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
+ mkdir -p ${pkgdir}/usr/bin
+
+ sed -i "s#/usr/bin/python#/usr/bin/python2#" ${srcdir}/MPNotifier-${pkgver}/mpn
+}
+
+package() {
+ install -D -m755 ${srcdir}/MPNotifier-${pkgver}/mpn ${pkgdir}/usr/bin/mpn
+ install -D -m644 ${srcdir}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+ install -D -m744 ${srcdir}/mpnrc ${pkgdir}/usr/share/doc/${pkgname}/mpnrc.sample
+}
diff --git a/mpn.install b/mpn.install
new file mode 100755
index 00000000000..4a3a7e84581
--- /dev/null
+++ b/mpn.install
@@ -0,0 +1,8 @@
+post_install(){
+ echo "==========================================================="
+ echo "|| An example configuration file has been installed into ||"
+ echo "|| /usr/share/doc/mpn/mpnrc.sample ||"
+ echo "|| Copy it to ~/.mpnrc and edit it ||"
+ echo "|| For help, have a look at mpn -h ||"
+ echo "==========================================================="
+}