blob: 83b8dca72cad66fe66170d43ea4baa460cdb0f1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
_pkgname='dotlink'
pkgname="${_pkgname}-git"
pkgver=r16.0a869dd
pkgrel=1
pkgdesc="Simple dotfiles manager"
url="https://github.com/joel-porquet/dotlink"
arch=('any')
license=('GPL2')
depends=('bash')
makedepends=('git' 'make')
source=("${_pkgname}::git+${url}")
md5sums=('SKIP')
pkgver() {
cd ${_pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd ${_pkgname}
make DESTDIR="${pkgdir}" install
}
|