blob: 999777b2e62cc411044376a7ac347a0e09f0aa62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dor com>
_pkgauthor=bernd
_pkgname=desk
pkgname=${_pkgname}
pkgver=0.7.0.beta.1
pkgrel=1
pkgdesc="A lightweight workspace manager for the shell"
arch=('any')
url="https://github.com/${_pkgauthor}/${pkgname}"
license=('MIT')
provides=("${pkgname}")
makedepends=('rust' 'gzip' 'help2man')
source=(git+"https://github.com/${_pkgauthor}/${_pkgname}.git#tag=v${pkgver//.beta/-beta}")
sha256sums=('61a6cfd74e75bfeae7c1b51464ee292f075fd18ccac9aad999048b525023adfb')
package() {
cd ${srcdir}/${pkgname} || exit 1
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "./shell_plugins/bash/${pkgname}" "${pkgdir}/usr/share/bash-completion/completions/${_pkgname}"
install -Dm644 "./shell_plugins/zsh/_${pkgname}" "${pkgdir}/usr/share/zsh/site-functions/_${_pkgname}"
install -Dm644 "./shell_plugins/fish/${pkgname}.fish" "${pkgdir}/usr/share/fish/completions/${_pkgname}.fish"
}
|