diff options
Diffstat (limited to 'bootchart2')
-rw-r--r-- | bootchart2/PKGBUILD | 30 | ||||
-rw-r--r-- | bootchart2/bootchart2.install | 9 |
2 files changed, 39 insertions, 0 deletions
diff --git a/bootchart2/PKGBUILD b/bootchart2/PKGBUILD new file mode 100644 index 0000000..773eb48 --- /dev/null +++ b/bootchart2/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Tom Gundersen <teg@jklm.no> + +pkgname=bootchart2 +pkgver=0.14.1 +pkgrel=2 +pkgdesc="High-precision boot logger and visualizer" +arch=('i686' 'x86_64') +url="https://github.com/mmeeks/bootchart" +license=('GPL2') +depends=('python' 'bash' 'python-cairo') +backup=('etc/bootchartd.conf') +install=bootchart2.install +source=("https://github.com/downloads/mmeeks/bootchart/$pkgname-$pkgver.tar.bz2") + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # force python 2 + sed -i '1s/python$/python2/' pybootchartgui.py + + PYTHON=python2 make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + PYTHON=python2 make DESTDIR="$pkgdir" install +} +sha256sums=('da243697552db8fb25554b311a8c36ca3fca4ff29be5f5409a5f996671aa7f59') diff --git a/bootchart2/bootchart2.install b/bootchart2/bootchart2.install new file mode 100644 index 0000000..3d3657d --- /dev/null +++ b/bootchart2/bootchart2.install @@ -0,0 +1,9 @@ +#!/bin/sh + +post_install() { + echo "Append" + echo " initcall_debug init=/sbin/bootchartd" + echo "to your kernel commandline, to use boochart2." +} + +# vim:set ts=2 sw=2 et: |