diff options
author | Dian Fay | 2018-04-20 21:10:08 -0400 |
---|---|---|
committer | Dian Fay | 2018-04-20 21:10:08 -0400 |
commit | 8954fc66d61c28fd320dc88d30c1105910c26452 (patch) | |
tree | ac2a9929214bab58ca77d3b4c6f07276bd946e85 /PKGBUILD | |
parent | 728bc178de549fc149eea3bdaa240f2d7bfa52ef (diff) | |
download | aur-hostess-git.tar.gz |
cleanup
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -8,13 +8,12 @@ pkgdesc="An idempotent command-line utility for managing your /etc/hosts file (g arch=("x86_64") url="https://github.com/cbednarski/hostess" license=("MIT") -# install=$pkgname.install md5sums=('SKIP') makedepends=("git" "go") source=("git+https://github.com/cbednarski/hostess") pkgver(){ - cd "${srcdir}/hostess" + cd "$srcdir/hostess" printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } @@ -35,5 +34,5 @@ build() { } package() { - install -Dm755 "${srcdir}/hostess/hostess" "${pkgdir}/usr/bin/hostess" + install -Dm755 "$srcdir/hostess/hostess" "$pkgdir/usr/bin/hostess" } |