diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2014-10-11 21:32:27 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2014-10-11 21:32:27 -0300 |
commit | 73878e9f6a2b86ebf66cf87ec145dc309c8520c4 (patch) | |
tree | add2354a374b3acde8a673f9250c3ff8d72d86dd /pcr/mycron-git/PKGBUILD | |
parent | d2556ce4d528b6a62d31b9f28cd37678f565f956 (diff) | |
parent | 4e75bcf04fa2ee23cbdc320bdf04af821616a6ee (diff) |
Merge branch 'master' of git://projects.parabola.nu/abslibre
Diffstat (limited to 'pcr/mycron-git/PKGBUILD')
-rw-r--r-- | pcr/mycron-git/PKGBUILD | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/pcr/mycron-git/PKGBUILD b/pcr/mycron-git/PKGBUILD index d9eb795b6..19fbd7bd5 100644 --- a/pcr/mycron-git/PKGBUILD +++ b/pcr/mycron-git/PKGBUILD @@ -1,14 +1,14 @@ -# Contributor (Arch) : Dirk Sohler <spam@0x7be.de> -# Contributor (Arch) : Dirk Sohler <spam@0x7be.de> -# Maintainer (Parabola): Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Contributor: Dirk Sohler <spam@0x7be.de> +# Contributor: Dirk Sohler <spam@0x7be.de> pkgname=mycron-git _gitname=mycron -pkgver=2.0.2 +pkgver=3.0 pkgrel=2 -pkgdesc='A standards compliant and convenient crontab management system.' +pkgdesc='A standards compliant and convenient cron service.' -url='http://dev.0x7be.de/mycron.html' +url='https://dev.0x7be.de/mycron.html' arch=('any') license=('GPL') @@ -19,25 +19,30 @@ install=mycron.install branch='master' source=("git://github.com/dsohler/mycron.git#branch=$branch" - 'mycron.install' + 'mycron.install' 'mycron.1' - 'mycron.5') + 'mycron.conf.5' + 'mycron.crontab.5' + 'mycron@.service') + pkgver() { - cd "$srcdir/$_gitname" - echo $(sed -n "s/^progversion='\(.*\)'/\1/p" mycron.py) + cd "$srcdir/$_gitname" + echo $(sed -n "s/^progversion = '\(.*\)'/\1/p" mycron.py) } package() { - cd "$srcdir/$_gitname" - _DOCPATH="usr/share/doc/mycron" - _MANPATH="usr/share/man" - install -Dm 755 mycron.py $pkgdir/usr/bin/mycron - install -Dm 644 example-config.cfg $pkgdir/$_DOCPATH/example-config.cfg - install -Dm 644 example.crontab $pkgdir/$_DOCPATH/example.crontab - install -Dm 644 crontab.vim $pkgdir/$_DOCPATH/crontab.vim - install -Dm 644 ../mycron.1 $pkgdir/$_MANPATH/man1/mycron.1 - install -Dm 644 ../mycron.5 $pkgdir/$_MANPATH/man5/mycron.5 - gzip $pkgdir/$_MANPATH/man1/mycron.1 - gzip $pkgdir/$_MANPATH/man5/mycron.5 + cd "$srcdir/$_gitname" + _DOCPATH="usr/share/doc/mycron" + _MANPATH="usr/share/man" + _SYSTEMD="usr/lib/systemd/system" + install -Dm 755 mycron.py $pkgdir/usr/bin/mycron + install -Dm 644 crontab.vim $pkgdir/$_DOCPATH/crontab.vim + install -Dm 644 ../mycron.1 $pkgdir/$_MANPATH/man1/mycron.1 + install -Dm 644 ../mycron.conf.5 $pkgdir/$_MANPATH/man5/mycron.conf.5 + install -Dm 644 ../mycron.crontab.5 $pkgdir/$_MANPATH/man5/mycron.crontab.5 + install -Dm 644 ../mycron@.service $pkgdir/$_SYSTEMD/mycron@.service + gzip $pkgdir/$_MANPATH/man1/mycron.1 + gzip $pkgdir/$_MANPATH/man5/mycron.conf.5 + gzip $pkgdir/$_MANPATH/man5/mycron.crontab.5 } |