[arch-commits] Commit in autorandr/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Mar 18 13:29:29 UTC 2019
Date: Monday, March 18, 2019 @ 13:29:28
Author: dvzrv
Revision: 442454
archrelease: copy trunk to community-any
Added:
autorandr/repos/community-any/PKGBUILD
(from rev 442453, autorandr/trunk/PKGBUILD)
Deleted:
autorandr/repos/community-any/PKGBUILD
----------+
PKGBUILD | 61 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 34 insertions(+), 27 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-18 13:29:12 UTC (rev 442453)
+++ PKGBUILD 2019-03-18 13:29:28 UTC (rev 442454)
@@ -1,27 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-
-pkgname=autorandr
-pkgver=1.7
-pkgrel=1
-pkgdesc="Auto-detect connected display hardware and load appropiate X11 setup using xrandr"
-arch=('any')
-url="https://github.com/phillipberndt/autorandr"
-license=('GPL3')
-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')
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}/"
- make DESTDIR="${pkgdir}" PREFIX=/usr install
- install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
-}
Copied: autorandr/repos/community-any/PKGBUILD (from rev 442453, autorandr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-18 13:29:28 UTC (rev 442454)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=autorandr
+pkgver=1.8
+pkgrel=1
+pkgdesc="Auto-detect connected display hardware and load appropiate X11 setup using xrandr"
+arch=('any')
+url="https://github.com/phillipberndt/autorandr"
+license=('GPL3')
+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=('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
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}/"
+ make DESTDIR="${pkgdir}" PREFIX=/usr install
+ install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
More information about the arch-commits
mailing list