summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames An2014-12-29 20:57:30 -0500
committerJames An2014-12-29 20:57:30 -0500
commit2493fc43c6bba4c038c1e6fd93a86b75c799b5fb (patch)
tree032fa04a5d65cd6f1fc26155bb59e75e18604321
downloadaur-2493fc43c6bba4c038c1e6fd93a86b75c799b5fb.tar.gz
Added autorandr-git AUR package before changes.
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD31
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..817bc3f0932
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = autorandr-git
+ pkgdesc = Auto-detect connected display hardware and load appropriate X11 setup using xrandr or disper. Formerly auto-disper.
+ pkgver = 20120301
+ pkgrel = 1
+ url = http://github.com/wertarbyte/autorandr
+ arch = any
+ license = None
+ optdepends = disper
+ conflicts = auto-disper-git
+
+pkgname = autorandr-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b1d0362e43d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Ng Oon-Ee <ngoonee.talk@gmail.com>
+# Contributor (auto-disper-git): Byron Clark <byron@theclarkfamily.name>
+pkgname=autorandr-git
+pkgver=20120301
+pkgrel=1
+pkgdesc="Auto-detect connected display hardware and load appropriate X11 setup using xrandr or disper. Formerly auto-disper."
+url="http://github.com/wertarbyte/autorandr"
+arch=('any')
+license=('None')
+optdepends=('disper')
+conflicts=('auto-disper-git')
+makdepends=('git')
+
+_gitroot="http://github.com/wertarbyte/autorandr.git"
+_gitname=autorandr
+
+build() {
+ cd ${srcdir}
+
+ if [ -d ${_gitname} ]; then
+ cd ${_gitname} && git pull origin
+ else
+ git clone ${_gitroot} ${_gitname}
+ fi
+
+ install -D -m 0755 ${srcdir}/${_gitname}/autorandr ${pkgdir}/usr/bin/autorandr
+ ln -s /usr/bin/autorandr ${pkgdir}/usr/bin/auto-disper
+ install -D -m 0755 ${srcdir}/${_gitname}/pm-utils/40autorandr ${pkgdir}/etc/pm/sleep.d/40autorandr
+ install -D -m 0755 ${srcdir}/${_gitname}/bash_completion/autorandr ${pkgdir}/etc/bash_completion.d/autorandr
+}
+# vim: set ft=sh ts=2 sw=2 et: