summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof AS (3ED)2018-05-23 23:42:29 +0200
committerKrzysztof AS (3ED)2018-05-23 23:42:29 +0200
commitfa7257545b01bdfc95a8c174edd350f923f11863 (patch)
tree7a032b976771038ec676d539832e369ec889e714
parent92c5aa7717ff69ac2eded4dc24ded40e7d7ffe64 (diff)
downloadaur-fa7257545b01bdfc95a8c174edd350f923f11863.tar.gz
update
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD24
-rw-r--r--org.ddccontrol.pkexec.gddccontrol.policy2
3 files changed, 23 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 880bc6863c8..528ace3ccba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ddccontrol
pkgdesc = Control your monitor by software using the DDC/CI protocol
- pkgver = 0.4.3
- pkgrel = 2
+ pkgver = 0.4.4
+ pkgrel = 1
url = https://github.com/ddccontrol/ddccontrol
arch = i686
arch = x86_64
@@ -15,10 +15,10 @@ pkgbase = ddccontrol
depends = libxml2
depends = icu
options = !libtool
- source = https://github.com/ddccontrol/ddccontrol/archive/0.4.3.tar.gz
+ source = https://github.com/ddccontrol/ddccontrol/archive/0.4.4.tar.gz
source = org.ddccontrol.pkexec.gddccontrol.policy
- sha256sums = 10e19c7201bb9e80d8d4293f8090d5ce97b0f49a13bd7e8e7af53b7e8ae4e5fb
- sha256sums = 811bf1ecc85045e80757ea553591c00e32bb93d529a761b18bb501d0f2bf82c5
+ sha256sums = aafbb16ac4f4edfe3fcc5feec1eb5729aaf86e3b0f31f9d707ba1406bb404817
+ sha256sums = ef84637e512496a37fe3b50f64020f11aafaa7bc8ab821e90e81256439c2069a
pkgname = ddccontrol
install = ddccontrol.install
diff --git a/PKGBUILD b/PKGBUILD
index d7babd84f5e..fb5975a6060 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=ddccontrol
pkgname=(ddccontrol gddccontrol)
-pkgver=0.4.3
-pkgrel=2
+pkgver=0.4.4
+pkgrel=1
pkgdesc="Control your monitor by software using the DDC/CI protocol"
arch=('i686' 'x86_64')
url="https://github.com/ddccontrol/ddccontrol"
@@ -16,8 +16,8 @@ makedepends=('gtk2' 'autoconf' 'intltool')
source=("https://github.com/ddccontrol/ddccontrol/archive/${pkgver}.tar.gz"
"org.ddccontrol.pkexec.gddccontrol.policy")
options=('!libtool')
-sha256sums=('10e19c7201bb9e80d8d4293f8090d5ce97b0f49a13bd7e8e7af53b7e8ae4e5fb'
- '811bf1ecc85045e80757ea553591c00e32bb93d529a761b18bb501d0f2bf82c5')
+sha256sums=('aafbb16ac4f4edfe3fcc5feec1eb5729aaf86e3b0f31f9d707ba1406bb404817'
+ 'ef84637e512496a37fe3b50f64020f11aafaa7bc8ab821e90e81256439c2069a')
prepare() {
cd "${srcdir}"/${pkgbase}-${pkgver}
@@ -34,12 +34,15 @@ build() {
package_ddccontrol() {
install=ddccontrol.install
+
cd "${srcdir}"/${pkgbase}-${pkgver}
- for i in src/lib src/ddcpci src/ddccontrol po man; do # removed: doc (no objects to do in html/*)
+
+ for i in src/lib src/ddcpci src/ddccontrol po man; do
make DESTDIR="${pkgdir}" install -C $i
done
- chmod 755 "${pkgdir}"/usr/bin/ddcpci
+ # cleanups
+ rm "$pkgdir/usr/share/man/man1/gddccontrol.1"
}
package_gddccontrol() {
@@ -48,12 +51,19 @@ package_gddccontrol() {
conflicts=("ddccontrol-git")
cd "${srcdir}"/${pkgbase}-${pkgver}
- make DESTDIR="${pkgdir}" install -C src/gddccontrol
+
+ for i in src/gddccontrol man; do
+ make DESTDIR="${pkgdir}" install -C $i
+ done
+
+ # cleanups
+ rm "$pkgdir/usr/share/man/man1/ddccontrol.1"
# policykit
install -Dm644 \
"$srcdir/org.ddccontrol.pkexec.gddccontrol.policy" \
"${pkgdir}/usr/share/polkit-1/actions/org.ddccontrol.pkexec.gddccontrol.policy"
+
sed -e 's/Exec=gddccontrol/Exec=pkexec gddccontrol/' \
-i "${pkgdir}/usr/share/applications/gddccontrol.desktop"
}
diff --git a/org.ddccontrol.pkexec.gddccontrol.policy b/org.ddccontrol.pkexec.gddccontrol.policy
index 4f1030123f8..50b4f80bb84 100644
--- a/org.ddccontrol.pkexec.gddccontrol.policy
+++ b/org.ddccontrol.pkexec.gddccontrol.policy
@@ -4,7 +4,7 @@
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<vendor>DDCcontrol</vendor>
- <vendor_url>http://ddccontrol.sourceforge.net/</vendor_url>
+ <vendor_url>https://github.com/ddccontrol/ddccontrol</vendor_url>
<action id="org.ddccontrol.pkexec.gddccontrol">
<message>Authentication is required to run the Monitor Settings</message>