diff options
author | Bert Peters | 2018-03-05 15:20:13 +0100 |
---|---|---|
committer | Bert Peters | 2018-03-05 15:20:13 +0100 |
commit | 144a744a7defa0f2905dece49ef63286f070cd27 (patch) | |
tree | f225ff64c47316292e24557b08ea16b0d0a58af9 | |
download | aur-144a744a7defa0f2905dece49ef63286f070cd27.tar.gz |
Initial packaging.
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ad70211085b3 --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..17df0de733b0 --- /dev/null +++ b/PKGBUILD @@ -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" +} |