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