diff options
author | Antonio Yang | 2020-11-12 23:49:42 +0800 |
---|---|---|
committer | Antonio Yang | 2020-11-12 23:49:42 +0800 |
commit | 04ae0005496d0e70b662a094341b2a9b1231395e (patch) | |
tree | 2f5514a704c1a08adec9e460d1a1507483b0206a | |
download | aur-04ae0005496d0e70b662a094341b2a9b1231395e.tar.gz |
init: at 0.4.19
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e2ae24950cf1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = clipcat + pkgdesc = Clipcat is a clipboard manager written in Rust Programming Language. + pkgver = 0.4.19 + pkgrel = 1 + url = https://github.com/xrelkd/clipcat + arch = any + license = GPL3 + depends = libxcb + depends = python + depends = rust + depends = protobuf + source = clipcat.tgz::https://github.com/xrelkd/clipcat/archive/v0.4.19.tar.gz + sha256sums = cfaffc69ec8aa3050c5d46e7ddffec96481d4ba0d0f528f38db11691161b096d + +pkgname = clipcat + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..da404d753536 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Po-An,Yang(Antonio) <yanganto gmail.com> + +set -u +pkgname='clipcat' +pkgver=0.4.19 +pkgrel='1' +pkgdesc='Clipcat is a clipboard manager written in Rust Programming Language.' +arch=('any') +url='https://github.com/xrelkd/clipcat' +license=('GPL3') +depends=('libxcb' 'python' 'rust' 'protobuf') +source=("${pkgname}.tgz::https://github.com/xrelkd/clipcat/archive/v${pkgver}.tar.gz") +sha256sums=('cfaffc69ec8aa3050c5d46e7ddffec96481d4ba0d0f528f38db11691161b096d') + +package() { + set -u + cd ${srcdir}/${pkgname}-${pkgver} + cargo build --all-features --release + install -Dm755 target/release/clipcatctl "$pkgdir/usr/bin/clipcatctl" + install -Dm755 target/release/clipcatd "$pkgdir/usr/bin/clipcatd" + install -Dm755 target/release/clipcat-menu "$pkgdir/usr/bin/clipcat-menu" + install -Dm755 target/release/clipcat-notify "$pkgdir/usr/bin/clipcat-notify" + + install -Dm644 completions/zsh/site-functions/_clipcatd "$pkgdir/usr/share/zsh/site-functions/_clipcatd" + install -Dm644 completions/zsh/site-functions/_clipcatctl "$pkgdir/usr/share/zsh/site-functions/_clipcatctl" + install -Dm644 completions/zsh/site-functions/_clipcat-menu "$pkgdir/usr/share/zsh/site-functions/_clipcat-menu" + install -Dm644 completions/zsh/site-functions/_clipcat-notify "$pkgdir/usr/share/zsh/site-functions/_clipcat-notify" + + install -Dm644 completions/bash-completion/completions/clipcatd "$pkgdir/usr/share/bash-completion/completions/clipcatd" + install -Dm644 completions/bash-completion/completions/clipcatctl "$pkgdir/usr/share/bash-completion/completions/clipcatctl" + install -Dm644 completions/bash-completion/completions/clipcat-menu "$pkgdir/usr/share/bash-completion/completions/clipcat-menu" + install -Dm644 completions/bash-completion/completions/clipcat-notify "$pkgdir/usr/share/bash-completion/completions/clipcat-notify" + + install -Dm644 completions/fish/completions/clipcatd.fish "$pkgdir/usr/share/bash-completion/completions/clipcatd.fish" + install -Dm644 completions/fish/completions/clipcatctl.fish "$pkgdir/usr/share/bash-completion/completions/clipcatctl.fish" + install -Dm644 completions/fish/completions/clipcat-menu.fish "$pkgdir/usr/share/bash-completion/completions/clipcat-menu.fish" + install -Dm644 completions/fish/completions/clipcat-notify.fish "$pkgdir/usr/share/bash-completion/completions/clipcat-notify.fish" + + set +u +} +set +u |