PKGBUILD 836 B

1234567891011121314151617181920212223242526272829
  1. # Maintainer: Nathaniel van Diepen <[email protected]>
  2. pkgname=system-msg
  3. pkgver=v2.4.r0.g9aeb780
  4. url='https://github.com/Eeems/system-msg'
  5. pkgver() {
  6. cd "$srcdir/$pkgname"
  7. if git describe --tags > /dev/null 2>&1;then
  8. git describe --tags --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g';
  9. else
  10. date +%Y%m%d;
  11. fi;
  12. }
  13. pkgrel=4
  14. pkgdesc="Allows admins to easily add messages to be displayed at boot without having to edit files."
  15. arch=('any')
  16. makedepends=('git')
  17. license=('MIT')
  18. source=("git+https://github.com/Eeems/system-msg.git" 'LICENSE')
  19. build() {
  20. cd "$srcdir/$pkgname"
  21. make
  22. }
  23. package() {
  24. install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  25. cd "$srcdir/$pkgname"
  26. make DESTDIR="${pkgdir}" install
  27. }
  28. md5sums=('SKIP' 'SKIP')