diff options
author | Janne Heß | 2016-01-16 23:33:57 +0100 |
---|---|---|
committer | Janne Heß | 2016-01-16 23:33:57 +0100 |
commit | 55d49c2ce180f971b4a5a0227befbf3f40a81ed7 (patch) | |
tree | bb757399c3332de81edcb2c55d76c43db5dd6ec5 | |
download | aur-55d49c2ce180f971b4a5a0227befbf3f40a81ed7.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b036ca45edd2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by mksrcinfo v8 +# Sat Jan 16 22:33:43 UTC 2016 +pkgbase = bootchart2 + pkgdesc = Boot Process Performance Visualization + pkgver = 0.14.8 + pkgrel = 1 + url = https://github.com/xrmx/bootchart + arch = i686 + arch = x86_64 + license = GPL + depends = python2 + depends = busybox + depends = pygtk + provides = bootchart2 + conflicts = bootchart2-git + conflicts = bootchart + backup = etc/bootchartd2.conf + source = https://github.com/xrmx/bootchart/archive/0.14.8.tar.gz + sha512sums = 58303db91d22ccc44c0dc765e7a6672fb277840555fd87ce64b8987cba85250cfe3db17f3ec7e0e1e726ad59166a5d3d01a7a262c07b5690c595877b46c66bd0 + +pkgname = bootchart2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9557ee1c3b6c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Janne Heß <jannehess@gmail.com> + +# Contributor: Janne Heß <jannehess@gmail.com> + +pkgname=bootchart2 +pkgver=0.14.8 +pkgrel=1 +pkgdesc='Boot Process Performance Visualization' +url='https://github.com/xrmx/bootchart' +license=('GPL') +provides=('bootchart2') +conflicts=('bootchart2-git' 'bootchart') +depends=('python2' 'busybox' 'pygtk') +backup=('etc/bootchartd2.conf') +source=("https://github.com/xrmx/${pkgname%2}/archive/${pkgver}.tar.gz") +sha512sums=('58303db91d22ccc44c0dc765e7a6672fb277840555fd87ce64b8987cba85250cfe3db17f3ec7e0e1e726ad59166a5d3d01a7a262c07b5690c595877b46c66bd0') +arch=('i686' 'x86_64') + +build() { + cd "${srcdir}/${pkgname%2}-${pkgver}" + + sed -i -e 's:sbin:usr/bin:g' \ + -e 's:/lib/systemd/system:/usr/lib/systemd/system:g' \ + -e 's:bootchartd $(DESTDIR)$(EARLY_PREFIX)/usr/:bootchartd $(DESTDIR)$(EARLY_PREFIX)/:g' \ + -e 's:SYSTEMD_UNIT_DIR = .*:SYSTEMD_UNIT_DIR = /usr/lib/systemd/system:g' Makefile + sed -i -e 's:#!/usr/bin/python:#!/usr/bin/python2:g' pybootchartgui.py + sed -i -e 's:sbin:bin:g' *.service.in + + make PROGRAM_SUFFIX=2 PYTHON=python2 PY_LIBDIR=/usr/lib/python2.7 EARLY_PREFIX=/usr all +} + +package() { + cd "${srcdir}/${pkgname%2}-${pkgver}" + + make PROGRAM_SUFFIX=2 DESTDIR="${pkgdir}" PYTHON=python2 PY_LIBDIR=/usr/lib/python2.7 EARLY_PREFIX=/usr install +} + |