diff options
-rw-r--r-- | .AURINFO | 15 | ||||
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | cmusfm.install | 12 |
4 files changed, 74 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 0000000..5c1f713 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,15 @@ +pkgbase = cmusfm + pkgdesc = Last.fm scrobbler for cmus music player + pkgver = 0.2.0 + pkgrel = 1 + url = https://github.com/Arkq/cmusfm + install = cmusfm.install + arch = x86_64 + arch = i686 + license = GPLv3 + depends = cmus + depends = curl + source = https://github.com/Arkq/cmusfm/archive/v0.2.0.tar.gz + +pkgname = cmusfm + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..645fdcc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 13:54:02 UTC 2015 +pkgbase = cmusfm + pkgdesc = Last.fm scrobbler for cmus music player + pkgver = 0.2.5 + pkgrel = 1 + url = https://github.com/Arkq/cmusfm + install = cmusfm.install + arch = x86_64 + arch = i686 + license = GPL3 + depends = cmus + depends = curl + depends = libnotify + source = cmusfm-0.2.5.tar.gz::https://github.com/Arkq/cmusfm/archive/v0.2.5.tar.gz + sha256sums = f6f0a2e60a3c00480903035f71339aa4ea8a70d2f64b3ff9a6ea2f75b61543af + +pkgname = cmusfm + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..fefcf26 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=cmusfm +pkgver=0.2.5 +pkgrel=1 + +pkgdesc="Last.fm scrobbler for cmus music player" +url="https://github.com/Arkq/cmusfm" +arch=('x86_64' 'i686') +license=('GPL3') + +depends=('cmus' 'curl' 'libnotify') + +install=cmusfm.install + +source=(cmusfm-"$pkgver".tar.gz::https://github.com/Arkq/cmusfm/archive/v"$pkgver".tar.gz) + +sha256sums=('f6f0a2e60a3c00480903035f71339aa4ea8a70d2f64b3ff9a6ea2f75b61543af') + +build() { + cd cmusfm-"$pkgver" + autoreconf --install + ./configure --prefix=/usr --enable-libnotify + make +} + +package() { + cd cmusfm-"$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/cmusfm.install b/cmusfm.install new file mode 100644 index 0000000..0ce4164 --- /dev/null +++ b/cmusfm.install @@ -0,0 +1,12 @@ +post_install() { + echo "Before usage with cmus you MUST invoke this program with 'init'" + echo "argument:" + echo "" + echo " cmusfm init" + echo "" + echo "After that you can set status_display_program in cmus:" + echo "" + echo " :set status_display_program=cmusfm" + echo "" + echo '(for more information see 'man cmus'). Enjoy!' +} |