mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
Add 'munin-template-munstrap-git/' from commit '759fd52b303955383dae57208ac0f0002052e30f'
git-subtree-dir: munin-template-munstrap-git git-subtree-mainline:87b4bf3759git-subtree-split:759fd52b30
This commit is contained in:
14
munin-template-munstrap-git/.SRCINFO
Normal file
14
munin-template-munstrap-git/.SRCINFO
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
pkgbase = munin-template-munstrap-git
|
||||||
|
pkgdesc = Bootstrap based template for munin-html
|
||||||
|
pkgver = r25.c3431051
|
||||||
|
pkgrel = 1
|
||||||
|
epoch = 1
|
||||||
|
url = https://github.com/munin-monitoring/contrib/tree/master/templates/munstrap
|
||||||
|
arch = any
|
||||||
|
license = GPL2
|
||||||
|
makedepends = git
|
||||||
|
source = munin-template-munstrap::git+https://github.com/munin-monitoring/contrib.git
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = munin-template-munstrap-git
|
||||||
|
|
||||||
4
munin-template-munstrap-git/.gitignore
vendored
Normal file
4
munin-template-munstrap-git/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
!PKGBUILD
|
||||||
|
!.SRCINFO
|
||||||
28
munin-template-munstrap-git/PKGBUILD
Normal file
28
munin-template-munstrap-git/PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
|
pkgname=munin-template-munstrap-git
|
||||||
|
pkgver=r25.c3431051
|
||||||
|
# Changed versioning scheme to prevent rebuilds
|
||||||
|
# Thanks to eschwarz for recommending
|
||||||
|
epoch=1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Bootstrap based template for munin-html"
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/munin-monitoring/contrib/tree/master/templates/munstrap"
|
||||||
|
license=('GPL2')
|
||||||
|
makedepends=('git')
|
||||||
|
source=("${pkgname%-git}::git+https://github.com/munin-monitoring/contrib.git")
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
local subdir="templates/munstrap"
|
||||||
|
cd "$srcdir/${pkgname%-git}"
|
||||||
|
# Git, no tags available
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD "$subdir")" "$(git log -n 1 --pretty=format:%h -- "$subdir")"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
local destdir="$pkgdir/usr/share/munin/templates/munstrap"
|
||||||
|
cd "$srcdir/${pkgname%-git}"
|
||||||
|
install -d "$destdir"
|
||||||
|
cp -r templates/munstrap/{templates,static} "$destdir"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user