[arch-commits] Commit in autorandr/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Mar 18 13:29:12 UTC 2019


    Date: Monday, March 18, 2019 @ 13:29:12
  Author: dvzrv
Revision: 442453

upgpkg: autorandr 1.8-1

Upgrading to 1.8. Removing call to mandb during install.

Modified:
  autorandr/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-18 12:02:21 UTC (rev 442452)
+++ PKGBUILD	2019-03-18 13:29:12 UTC (rev 442453)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dave at sleepmap.de>
 
 pkgname=autorandr
-pkgver=1.7
+pkgver=1.8
 pkgrel=1
 pkgdesc="Auto-detect connected display hardware and load appropiate X11 setup using xrandr"
 arch=('any')
@@ -10,8 +10,15 @@
 depends=('python-setuptools' 'xorg-xrandr')
 optdepends=('xorg-xdpyinfo: For detecting the primary XRandR output')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/phillipberndt/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('065e1b6ae22a6ce11c3d7603c38f2bd97f6c0f1a8fd96d7b180e99a5188cf17b7fc44a2970fbe9f50561d4c896b9a12cb9f7e49482c6ef8748ea9e99247ec090')
+sha512sums=('189e3b27d1a7c3018bdf88fb8bed7438e8fafc4d2760306905d694b2f787a75b435fd97edfbe5e53c9e847ea39358731db2c59ce09953e875381e49df1941753')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # mandb needs to be called on the system, not during packaging
+  # https://github.com/phillipberndt/autorandr/issues/144
+  sed -e '/mandb/d' -i Makefile
+}
+
 build() {
   cd "${pkgname}-${pkgver}"
   python setup.py build



More information about the arch-commits mailing list