summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRanieri Althoff2015-09-13 13:05:14 -0300
committerRanieri Althoff2015-09-13 13:05:14 -0300
commita32a75f49d66b1df3c456b262bcd9e1f58cf7e62 (patch)
tree918eaf79b629b85e425e5ac36ca8e144223fcb75
parentba2a7de79c79f1a912bedec1a20d3ceb3363d7a5 (diff)
downloadaur-a32a75f49d66b1df3c456b262bcd9e1f58cf7e62.tar.gz
Enable any architecture and add post-install info
-rw-r--r--PKGBUILD5
-rw-r--r--mpdas.install6
2 files changed, 9 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a3fde79b4014..d250fc5d6d88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,14 @@
pkgname=mpdas
pkgver=0.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="An AudioScrobbler client for MPD written in C++."
-arch=('i686' 'x86_64')
+arch=('any')
license=('BSD')
url="http://50hz.ws"
depends=('libmpdclient' 'curl')
backup=('etc/mpdasrc')
+install=mpdas.install
source=("https://github.com/hrkfdn/${pkgname}/archive/${pkgver}.tar.gz"
'mpdas.service')
md5sums=('72df49bdf5094e8964619c11ae65a916'
diff --git a/mpdas.install b/mpdas.install
new file mode 100644
index 000000000000..283de2f935c2
--- /dev/null
+++ b/mpdas.install
@@ -0,0 +1,6 @@
+# arg 1: the new package version
+post_install() {
+ echo ">>> In order to use the scrobbler, you have to modify /etc/mpdasrc, refer to"
+ echo ">>> https://wiki.archlinux.org/index.php/Music_Player_Daemon/Tips_and_tricks#mpdas"
+ echo ">>> for more information."
+}