summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikkel Kroman2015-06-19 14:24:05 +0200
committerMikkel Kroman2015-06-19 14:24:05 +0200
commit1ae4bbd9d0c9dbbac2b4dcfa88d5b990750b9542 (patch)
tree6085e697f83e21dd7c296760e08147d2108d7e91
downloadaur-randompd.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore11
-rw-r--r--PKGBUILD23
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..08aa5becffa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = randompd
+ pkgdesc = Command-line utillity for quickly adding a random track to your mpd playlist.
+ pkgver = 0.2
+ pkgrel = 1
+ url = https://github.com/mkroman/randompd
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = glibc
+ depends = libmpdclient
+ source = git+https://github.com/mkroman/randompd.git#tag=v0.2
+ sha1sums = SKIP
+
+pkgname = randompd
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..bb2597759c2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+# Ignore generated package data.
+pkg/
+src/
+
+# Ignore the cloned repository.
+randompd/
+
+# Ignore downloaded archives and signatures.
+*.tar.xz
+*.tar.gz
+*.sig
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..074ae451f20
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Mikkel Kroman <mk@maero.dk>
+pkgname=randompd
+pkgver=0.2
+pkgrel=1
+pkgdesc="Command-line utillity for quickly adding a random track to your mpd playlist."
+arch=('i686' 'x86_64')
+url="https://github.com/mkroman/randompd"
+license=('MIT')
+makedepends=('git')
+depends=('glibc' 'libmpdclient')
+source=("git+https://github.com/mkroman/randompd.git#tag=v$pkgver")
+sha1sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ install -Dm0755 randompd "$pkgdir/usr/bin/randompd"
+ install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/randompd/LICENSE"
+}