[arch-commits] Commit in autorandr/repos (community-any community-any/PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Jul 22 17:50:56 UTC 2018
Date: Sunday, July 22, 2018 @ 17:50:55
Author: dvzrv
Revision: 362854
archrelease: copy trunk to community-any
Added:
autorandr/repos/community-any/
autorandr/repos/community-any/PKGBUILD
(from rev 362853, autorandr/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: autorandr/repos/community-any/PKGBUILD (from rev 362853, autorandr/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-07-22 17:50:55 UTC (rev 362854)
@@ -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}/"
+}
More information about the arch-commits
mailing list