diff options
author | beanaroo | 2016-01-09 13:01:19 +1300 |
---|---|---|
committer | beanaroo | 2016-01-09 13:01:19 +1300 |
commit | d8968d50b8a5abc1ff81b82697999578b604481a (patch) | |
tree | bf7b8265f6c372f861247cc8b1d15d0e3cb541e8 | |
download | aur-display-visor.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | install | 7 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..de961d0b3bac --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Sat Jan 9 00:00:29 UTC 2016 +pkgbase = display-visor + pkgdesc = An xrandr wrapper daemon for automatically configuring displays upon system events. + pkgver = 0.4 + pkgrel = 1 + url = https://github.com/beanaroo/display-visor + install = install + arch = any + license = GPL3 + depends = xorg-xrandr + optdepends = acpid: for included lid events + source = https://github.com/beanaroo/display-visor/archive/v0.4.tar.gz + md5sums = 9fb75b1cf815cc006907c646d03b97a9 + +pkgname = display-visor + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..059abb8154e5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Michael Heyns <mike.bean.heyns at gmail dot com> +pkgname=display-visor +pkgver=0.4 +pkgrel=1 +pkgdesc="An xrandr wrapper daemon for automatically configuring displays upon system events." +arch=(any) +url="https://github.com/beanaroo/display-visor" +license=('GPL3') +depends=('xorg-xrandr') +optdepends=('acpid: for included lid events' ) +install='install' +source=(https://github.com/beanaroo/display-visor/archive/v${pkgver}.tar.gz) +md5sums=('9fb75b1cf815cc006907c646d03b97a9') + +package() { + cd "$pkgname-$pkgver" + + make PREFIX=/usr DESTDIR="$pkgdir" install +} diff --git a/install b/install new file mode 100644 index 000000000000..eea168dc98ed --- /dev/null +++ b/install @@ -0,0 +1,7 @@ +post_install() { + if [ $(systemctl is-active acpid) == "active" ]; then + echo "" + echo "[Note] acpid.service will need to be restarted for changes to take effect." + echo "" + fi +} |