diff options
author | Jonas Frei | 2017-06-27 19:36:45 +0200 |
---|---|---|
committer | Jonas Frei | 2017-06-27 19:36:45 +0200 |
commit | b0e69fe3aab61d0679a51b5454a9a2cfcc206bb1 (patch) | |
tree | f6bd3801445d438b69f4f234d11ff8312962685e | |
download | aur-b0e69fe3aab61d0679a51b5454a9a2cfcc206bb1.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9cc69bce10ae --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ncmpvc-git + pkgdesc = A ncurses client for mpv which connects to existing mpv instances through sockets, written in Rust. WARNING: Early development stage, for bug-hunters only! + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/freijon/ncmpvc + arch = x86_64 + license = MIT + makedepends = cargo + depends = mpv + depends = ncurses + source = ncmpvc-git::git+https://github.com/freijon/ncmpvc.git + sha512sums = SKIP + +pkgname = ncmpvc-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ddff46b13010 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Jonas Frei <freijon@gmail.com> + +pkgname=ncmpvc-git +pkgver=0.0.1 +pkgrel=1 +pkgdesc="A ncurses client for mpv which connects to existing mpv instances through sockets, written in Rust. WARNING: Early development stage, for bug-hunters only!" +arch=('x86_64') +url="https://github.com/freijon/ncmpvc" +license=('MIT') +depends=('mpv' 'ncurses') +makedepends=('cargo') +source=("${pkgname}::git+https://github.com/freijon/ncmpvc.git") +sha512sums=('SKIP') + +build() { + cd "$srcdir/$pkgname" + cargo build --release +} + +package() { + install -Dv $srcdir/$pkgname/target/release/ncmpvc $pkgdir/usr/bin/ncmpvc +} |