[arch-commits] Commit in autorandr/repos (2 files)

Eli Schwartz eschwartz at archlinux.org
Tue Jul 31 21:55:31 UTC 2018


    Date: Tuesday, July 31, 2018 @ 21:55:31
  Author: eschwartz
Revision: 366152

archrelease: copy trunk to community-testing-any

Added:
  autorandr/repos/community-testing-any/
  autorandr/repos/community-testing-any/PKGBUILD
    (from rev 366151, autorandr/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: autorandr/repos/community-testing-any/PKGBUILD (from rev 366151, autorandr/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-07-31 21:55:31 UTC (rev 366152)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=autorandr
+pkgver=1.6
+pkgrel=3
+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=('688a7215532e7e6a5090813ca672cbab24276172a149255869479ae3977e0b8aa4bece4978e4a3847a6de02c7aaf3b2a698a9edd465c5cec2add25a0717ff085')
+
+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