[arch-commits] Commit in (4 files)
David Runge
dvzrv at archlinux.org
Sun Jul 22 17:49:25 UTC 2018
Date: Sunday, July 22, 2018 @ 17:49:24
Author: dvzrv
Revision: 362853
Adding autorandr from the AUR.
Added:
autorandr/
autorandr/repos/
autorandr/trunk/
autorandr/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: autorandr/trunk/PKGBUILD
===================================================================
--- autorandr/trunk/PKGBUILD (rev 0)
+++ autorandr/trunk/PKGBUILD 2018-07-22 17:49:24 UTC (rev 362853)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=autorandr
+pkgver=1.6
+pkgrel=2
+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 \
+ --prefix=/usr \
+ --root="${pkgdir}/"
+ make DESTDIR="${pkgdir}" PREFIX=/usr install
+ install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
Property changes on: autorandr/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list