diff options
author | emnl | 2015-06-08 19:40:41 +0000 |
---|---|---|
committer | emnl | 2015-06-08 19:40:41 +0000 |
commit | 36cbd6e9107c7cf7a9c5459ce13849b339981cf9 (patch) | |
tree | 89c2332412cf443f637f9272681c37227b57ecfa | |
download | aur-36cbd6e9107c7cf7a9c5459ce13849b339981cf9.tar.gz |
Initial Import
-rw-r--r-- | .AURINFO | 16 | ||||
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 35 |
3 files changed, 68 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..cc28eca8ab8c --- /dev/null +++ b/.AURINFO @@ -0,0 +1,16 @@ +pkgbase = mpdviz + pkgdesc = Standalone console MPD visualizer + pkgver = 0.4.7 + pkgrel = 1 + url = https://github.com/lucy/mpdviz + arch = x86_64 + arch = i686 + arch = ARM + license = custom:MIT + makedepends = go + depends = fftw + source = mpdviz::git+https://github.com/lucy/mpdviz.git#tag=0.4.6 + options = !strip + +pkgname = mpdviz + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2231180f4a82 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = mpdviz + pkgdesc = Standalone console MPD visualizer + pkgver = 0.4.7 + pkgrel = 1 + url = https://github.com/lucy/mpdviz + arch = x86_64 + arch = i686 + arch = ARM + license = custom:MIT + makedepends = go + depends = fftw + options = !strip + source = mpdviz::git+https://github.com/lucy/mpdviz.git#tag=0.4.7 + sha256sums = SKIP + +pkgname = mpdviz + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5e10dc5aa3ad --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: emnl <github.com/Ema0> + +pkgname=mpdviz +pkgver=0.4.7 +pkgrel=1 +pkgdesc='Standalone console MPD visualizer' +arch=('x86_64' 'i686' 'ARM') +url='https://github.com/lucy/mpdviz' +license=('custom:MIT') +makedepends=('go') +depends=('fftw') +options=('!strip') + +source=("$pkgname::git+https://github.com/lucy/$pkgname.git#tag=$pkgver") +sha256sums=('SKIP') + +prepare() { + cd "$srcdir/$pkgname" + export GOPATH="$srcdir" + go get -d +} + +build() { + cd "$srcdir/$pkgname" + export GOPATH="$srcdir" + go clean + go build -o mpdviz +} + +package() { + cd "$srcdir/$pkgname" + install -T -Dm755 mpdviz "$pkgdir/usr/bin/mpdviz" + install -T -Dm644 _mpdviz "$pkgdir/usr/share/zsh/site-functions/_mpdviz" + install -T -Dm644 LICENSE "$pkgdir/usr/share/licenses/mpdviz/LICENSE" +} |