[arch-commits] Commit in autorandr/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Mar 20 16:15:07 UTC 2019
Date: Wednesday, March 20, 2019 @ 16:15:06
Author: dvzrv
Revision: 442974
archrelease: copy trunk to community-any
Added:
autorandr/repos/community-any/PKGBUILD
(from rev 442973, autorandr/trunk/PKGBUILD)
Deleted:
autorandr/repos/community-any/PKGBUILD
----------+
PKGBUILD | 61 +++++++++++++++++++++++++++----------------------------------
1 file changed, 27 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-20 16:15:00 UTC (rev 442973)
+++ PKGBUILD 2019-03-20 16:15:06 UTC (rev 442974)
@@ -1,34 +0,0 @@
-# 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}/"
-}
Copied: autorandr/repos/community-any/PKGBUILD (from rev 442973, autorandr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-20 16:15:06 UTC (rev 442974)
@@ -0,0 +1,27 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=autorandr
+pkgver=1.8.1
+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=('f0a8fb272bcc9fdd334dd0269da23988e7552a46497c012042d893f6ce9648e7c1ddacb7685a963301666444922193afa9a2a3e7fa4b4981db67c8f6fad22516')
+
+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