You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PKGBUILD 1.0KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Maintainer: John Jenkins <twodopeshaggy@gmail.com>
  2. pkgname=vim-better-indent-support-for-php-with-html-git
  3. pkgver=20130518
  4. pkgrel=1
  5. pkgdesc="Vim indent script for PHP"
  6. arch=('any')
  7. depends=('vim')
  8. makedepends=('git')
  9. groups=('vim-plugins')
  10. url="https://github.com/captbaritone/better-indent-support-for-php-with-html"
  11. license=('custom:vim')
  12. source=(${pkgname%-git}::git+https://github.com/captbaritone/better-indent-support-for-php-with-html)
  13. sha256sums=('SKIP')
  14. provides=('vim-better-indent-support-for-php-with-html')
  15. conflicts=('vim-better-indent-support-for-php-with-html')
  16. pkgver() {
  17. cd ${pkgname%-git}
  18. git log -1 --format="%cd" --date=short | sed "s|-||g"
  19. }
  20. package() {
  21. cd $srcdir/vim-better-indent-support-for-php-with-html/
  22. mkdir -p $pkgdir/usr/share/doc/$pkgname
  23. install -Dm 644 README.md "$pkgdir/usr/share/doc/$pkgname/readme.md"
  24. cd $srcdir/vim-better-indent-support-for-php-with-html/indent/
  25. mkdir -p $pkgdir/usr/share/vim/vimfiles/indent/
  26. install -Dm 644 php.vim "$pkgdir/usr/share/vim/vimfiles/indent/"
  27. }