-
-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathdotdrop.pacscript
More file actions
19 lines (17 loc) · 931 Bytes
/
dotdrop.pacscript
File metadata and controls
19 lines (17 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname="dotdrop"
arch=("all")
pkgver="1.15.0"
source=("@${pkgname}~${pkgver}::https://github.com/deadc0de6/dotdrop/archive/refs/tags/v${pkgver}.zip")
sha256sums=("f3f753f24fb2b1a70072a89b177657b1605999431aad99cd12fd797bafc1debb")
maintainer=("Elsie19 <elsie19@pm.me>")
pkgdesc="Save your dotfiles once, deploy them everywhere"
depends=("python3" "python3-docopt" "python3-setools" "python3-jinja2" "python3-ruamel.yaml" "python3-magic" "diffutils")
repology=("project: ${pkgname}")
package() {
cd "${pkgname}~${pkgver}"
python3 setup.py install --root="${pkgdir}/" --optimize=1
install -Dm644 completion/dotdrop-completion.bash "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
install -Dm644 completion/_dotdrop-completion.zsh "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
install -Dm644 completion/dotdrop.fish "${pkgdir}/usr/share/fish/completions/${pkgname}.fish"
}
# vim:set ft=sh ts=2 sw=2 et: