summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUncle Hunto2016-07-25 13:55:16 -0700
committerUncle Hunto2016-07-25 13:55:16 -0700
commit3f9d2d570fe19f0343b56ed340ae028be0566571 (patch)
tree9b969848e6b44f4a694cfb87ff5eb34687715c80
parent90ec23d59d6983889b9e41a70aed58c3db772f35 (diff)
downloadaur-3f9d2d570fe19f0343b56ed340ae028be0566571.tar.gz
Try to fix KDE install
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cb1eedaaf52..4ece728e2c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Jul 24 18:31:37 UTC 2016
+# Mon Jul 25 20:54:29 UTC 2016
pkgbase = airvpn-beta-bin
pkgdesc = AirVPN client "Eddie" based on OpenVPN, beta version.
pkgver = 2.11.2
- pkgrel = 1
+ pkgrel = 2
url = https://airvpn.org/linux/
install = airvpn.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index a2a9fd9e897..8ffcff5a872 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=airvpn-beta-bin
pkgver=2.11.2
-pkgrel=1
+pkgrel=2
pkgdesc='AirVPN client "Eddie" based on OpenVPN, beta version.'
arch=('i686' 'x86_64')
url=https://airvpn.org/linux/
@@ -32,13 +32,14 @@ package() {
install -Dm644 "$srcdir/usr/share/doc/airvpn/changelog.gz" "$pkgdir/usr/share/doc/airvpn/changelog.gz"
install -Dm644 "$srcdir/usr/share/doc/airvpn/copyright" "$pkgdir/usr/share/doc/airvpn/copyright"
install -Dm644 "$srcdir/usr/share/man/man1/airvpn.1.gz" "$pkgdir/usr/share/man/man1/airvpn.1.gz"
+
## Fix .desktop file for KDE
- if [ -f "/usr/bin/dolphin" ]; then
+ if [ "$DESKTOP_SESSION" = "kde" ]; then
msg2 "Installing desktop file for KDE..."
install -Dm644 "$srcdir/usr/share/pixmaps/AirVPN.png" "$pkgdir/usr/share/pixmaps/airvpn.png"
cp "$srcdir/usr/share/applications/AirVPN.desktop" "$srcdir/airvpn.desktop"
desktop-file-install -m 644 --set-comment="VPN service based on OpenVPN"\
- --dir="$pkgdir/usr/share/applications/" --add-category=";Qt;KDE"\
+ --dir="$pkgdir/usr/share/applications/" \
--set-icon="/usr/share/pixmaps/airvpn.png" "airvpn.desktop"
else
msg2 "Installing desktop file..."