summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLuca Weiss2021-01-05 23:34:36 +0100
committerLuca Weiss2021-01-05 23:34:36 +0100
commit270f1250d34bea589d4f77c8ff83e5823d2d701d (patch)
tree4b2bfa1c1d14e37200ef192340d4ac362bb086ef /PKGBUILD
parent2affe9e3e3760d0e086d837f5f4dc8584a49d269 (diff)
downloadaur-bootchart2.tar.gz
upgpkg: bootchart2 0.14.9-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 8 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 13ed5afe299..b9088d68955 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,27 +3,18 @@
# Contributor: Janne Heß <jannehess@gmail.com>
pkgname=bootchart2
-pkgver=0.14.8
-pkgrel=3
+pkgver=0.14.9
+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')
+conflicts=('bootchart')
+depends=('python' 'busybox')
backup=('etc/bootchartd2.conf')
-source=("https://github.com/xrmx/${pkgname%2}/archive/${pkgver}.tar.gz"
- "0001-include-sys-sysmacros.h-for-major-minor-makedev.patch")
-sha512sums=('58303db91d22ccc44c0dc765e7a6672fb277840555fd87ce64b8987cba85250cfe3db17f3ec7e0e1e726ad59166a5d3d01a7a262c07b5690c595877b46c66bd0'
- '3fd04183634f4406aab6fff5e77aaeb339f0705aeba2d193ad55fa297dbd9739e872f26c6feb225ff0b2cf953370e08bc82fa3bae69fac3832feaa4671cc406c')
+source=("https://github.com/xrmx/${pkgname%2}/archive/${pkgver}.tar.gz")
+sha512sums=('7ee1220b0add027fc39f710cc01119d7aaa22fe11736497b089c26955216cef10552216ed29ca55bf08aa848f92bb11d74deeb3aa69769dfecf3a55aa988e58b')
arch=('i686' 'x86_64')
-prepare() {
- cd "${srcdir}/${pkgname%2}-${pkgver}"
-
- patch -Np1 < ../0001-include-sys-sysmacros.h-for-major-minor-makedev.patch
-}
-
build() {
cd "${srcdir}/${pkgname%2}-${pkgver}"
@@ -32,15 +23,14 @@ build() {
-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' \
-e 's:/usr/share/docs:/usr/share/doc: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
+ make PROGRAM_SUFFIX=2 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
+ make PROGRAM_SUFFIX=2 DESTDIR="${pkgdir}" EARLY_PREFIX=/usr install
}