system-msg 491 B

123456789101112131415161718192021
  1. pkgname=system-msg
  2. pkgver=v2.4.r0.g9aeb780
  3. pkgver() {
  4. cd "${srcdir%/*}/source"
  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=('x86-64' 'i686')
  14. source="$pkgname.tar.gz"
  15. build() {
  16. make
  17. }
  18. package() {
  19. make DESTDIR="${pkgdir}" install
  20. }
  21. md5sums=('d2746a064138c7e708ac85cb55346608')