blob: 2d5b42d8a339f9fe437ac46d2bf8b7e6af194e7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: Kobus van Schoor <pbscube at gmail dot com>
pkgname=dotgit
pkgver=1.1.2
pkgrel=1
pkgdesc="A simple bash program to backup all your dotfiles (read multiple hosts) in a single git repo"
url="http://github.com/Cube777/dotgit"
arch=('any')
depends=('git' 'sed' 'grep' 'bash' )
source=('git+https://github.com/Cube777/dotgit.git')
md5sums=('SKIP')
prepare() {
cd $pkgname
git --work-tree . checkout -q tags/$pkgver
}
package() {
install -Dm755 "$srcdir/$pkgname/dotgit" "$pkgdir/usr/bin/dotgit"
install -Dm644 "$srcdir/$pkgname/bash_completion" "$pkgdir/usr/share/bash-completion/completions/dotgit"
}
|