summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Tatschner2016-01-21 10:43:22 +0100
committerStefan Tatschner2016-01-21 10:43:22 +0100
commitf9860bdfdf1ebc85b9ad451697b0892c7c763893 (patch)
tree65070dd5d27161d99213aad66cc731c0f603ccb8
downloadaur-f9860bdfdf1ebc85b9ad451697b0892c7c763893.tar.gz
Initial upload: clerk 3.2-1
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD21
-rw-r--r--clerk.install9
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fb7c2e6181d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Thu Jan 21 09:43:22 UTC 2016
+pkgbase = clerk
+ pkgdesc = mpd client, based on rofi
+ pkgver = 3.2
+ pkgrel = 1
+ url = https://github.com/carnager/clerk
+ install = clerk.install
+ arch = any
+ license = MIT
+ depends = mpc
+ depends = rofi
+ depends = python
+ depends = python-mpd2
+ depends = python-notify2
+ depends = perl
+ optdepends = mpd-sima: similar artist mode
+ source = git+https://github.com/carnager/clerk.git#tag=3.2
+ sha256sums = SKIP
+
+pkgname = clerk
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..288d6a391f9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Stefan Tatschner <rumpelsepp@sevenbyte.org>
+
+pkgname='clerk'
+pkgver=3.2
+pkgrel=1
+pkgdesc="mpd client, based on rofi"
+arch=('any')
+url="https://github.com/carnager/clerk"
+license=('MIT')
+depends=('mpc' 'rofi' 'python' 'python-mpd2' 'python-notify2' 'perl')
+optdepends=('mpd-sima: similar artist mode')
+source=("git+https://github.com/carnager/clerk.git#tag=${pkgver}")
+sha256sums=('SKIP')
+install=clerk.install
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ install -D -m 0755 "clerk" "${pkgdir}/usr/bin/clerk"
+ install -D -m 0755 "clerk_helper" "${pkgdir}/usr/bin/clerk_helper"
+ install -D -m 0644 "config.clerk" "${pkgdir}/usr/share/clerk/config.example"
+}
diff --git a/clerk.install b/clerk.install
new file mode 100644
index 00000000000..3200282d321
--- /dev/null
+++ b/clerk.install
@@ -0,0 +1,9 @@
+post_install() {
+ echo "Please copy the provided example config from '/usr/share/clerk/config.example'"
+ echo "to '\$HOME/.config/clerk/config' and adjust it to your needs!"
+ echo ""
+ echo " $ mkdir -p \$HOME/.config/clerk"
+ echo " $ cp /usr/share/clerk/config.example \$HOME/.config/clerk/config"
+ echo ""
+}
+