PKGBUILD 608 B

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