mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 21:40:31 +01:00
Initial packaging.
This commit is contained in:
13
.SRCINFO
Normal file
13
.SRCINFO
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
pkgbase = munin-template-munstrap-git
|
||||||
|
pkgdesc = Bootstrap based template for munin-html
|
||||||
|
pkgver = r3632.c9157be3
|
||||||
|
pkgrel = 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
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
!PKGBUILD
|
||||||
|
!.SRCINFO
|
||||||
24
PKGBUILD
Normal file
24
PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
|
pkgname=munin-template-munstrap-git
|
||||||
|
pkgver=r3632.c9157be3
|
||||||
|
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() {
|
||||||
|
cd "$srcdir/${pkgname%-git}"
|
||||||
|
# Git, no tags available
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
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