diff options
author | Dan Ziemba | 2022-01-07 13:56:30 -0500 |
---|---|---|
committer | Dan Ziemba | 2022-01-07 13:56:30 -0500 |
commit | 61e2da91bf276c5df24c09ea3b850d2d8bb7863f (patch) | |
tree | a2704f92858317f0f93b97f45199d216a11f6150 | |
parent | 9c904d59ce222d05ba8977f49bf63c0a4ee78f2d (diff) | |
download | aur-61e2da91bf276c5df24c09ea3b850d2d8bb7863f.tar.gz |
Fixed after build system changes
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = nut-monitor-git pkgdesc = GUI to manage devices connected a NUT server - pkgver = 2.7.4.r2146.gfbe7806e + pkgver = 2.7.4.r3723.g92ecace7f pkgrel = 1 url = http://www.networkupstools.org/ arch = any @@ -15,4 +15,3 @@ pkgbase = nut-monitor-git sha256sums = SKIP pkgname = nut-monitor-git - @@ -1,7 +1,7 @@ # Maintainer: Dan Ziemba <zman0900@gmail.com> pkgname=nut-monitor-git -pkgver=2.7.4.r2146.gfbe7806e +pkgver=2.7.4.r3723.g92ecace7f pkgrel=1 pkgdesc="GUI to manage devices connected a NUT server" arch=('any') @@ -21,10 +21,18 @@ pkgver() { prepare() { cd "$srcdir/nut" + + # Fake running autogen.sh - doesn't matter for building just nut-monitor + touch scripts/augeas/nutupsconf.aug.in + touch scripts/udev/nut-usbups.rules.in + touch scripts/devd/nut-usb.conf.in + touch scripts/systemd/nut-common.tmpfiles.in + + autoreconf -iv + ./configure --with-python=python2 --without-python3 sed -i 's|=NUT-Monitor|=nut-monitor|' scripts/python/app/nut-monitor.desktop sed -i 's|os.path.dirname( sys.argv\[0\] )|"/usr/share/nut-monitor"|' scripts/python/app/NUT-Monitor - sed -i 's|/usr/bin/env python|/usr/bin/env python2.7|' scripts/python/app/NUT-Monitor } package() { |