summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
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"
+}