PKGBUILD 709 B

12345678910111213141516171819202122232425262728293031
  1. # Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
  2. # Contributor: Miika Hänninen <miika.hanninen@gmail.com>
  3. pkgname=vimv-git
  4. pkgver=r47.3bb51a4
  5. pkgrel=1
  6. pkgdesc="Batch-rename files using Vim"
  7. arch=(any)
  8. url="https://github.com/thameera/vimv"
  9. license=("MIT")
  10. depends=("bash" "git")
  11. makedepends=("git")
  12. provides=("${pkgname%-git}")
  13. conflicts=("${pkgname%-git}")
  14. source=("$pkgname::git+https://github.com/thameera/vimv.git")
  15. sha512sums=("SKIP")
  16. pkgver() {
  17. cd "$pkgname"
  18. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  19. }
  20. package() {
  21. cd "$pkgname"
  22. install -Dm755 "vimv" "$pkgdir/usr/bin/vimv"
  23. install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  24. }