summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex S2017-05-16 12:15:05 +0200
committerAlex S2017-05-16 12:15:05 +0200
commit625a7b94ab6c4eb8b11a8e51d7c6f0c0c6c0e2fb (patch)
tree2e87aac04222e541f33a76d0d064bcdd30dfc102
parent1264eb2c29bdde6930809be8866ae200f930c2c1 (diff)
downloadaur-625a7b94ab6c4eb8b11a8e51d7c6f0c0c6c0e2fb.tar.gz
Fix typo
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e10bc149fc71..976979be1db3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = display-mode-switcher
pkgdesc = The simple application to switch the display with one click between single and dual mode
pkgver = 0.1
- pkgrel = 0
+ pkgrel = 1
url = http://aur.archlinux.org/packages/display-mode-switcher/
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index f08aa8ef45ef..5e144552b8be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=display-mode-switcher
_pkgname=dispswitch
pkgver=0.1
-pkgrel=0
+pkgrel=1
pkgdesc="The simple application to switch the display with one click between single and dual mode"
arch=('any')
url="http://aur.archlinux.org/packages/display-mode-switcher/"
@@ -27,7 +27,7 @@ EOF
install -Dm644 Display\ mode\ switcher.desktop "${pkgdir}/usr/share/applications/Display mode switcher.desktop"
msg2 "Creating application..."
- cat > "${srcdir}/${_pkgname}" << EOF
+ cat > "${srcdir}/${_pkgname}" << 'EOF'
#!/bin/sh
prim_disp=$(xrandr | grep '\<connected primary\>' | awk 'NR==1 { print $1 }')