aboutsummaryrefslogtreecommitdiffstats
path: root/community/syncthing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-07-12 11:09:23 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-07-12 14:47:21 +0000
commitb4ec14e89b04205551d9c53244e5ccacd035e054 (patch)
tree904c1a3105e4af010d43112daead00126f9ed682 /community/syncthing
parent5417c8fc9f2385480e8ec0074bde52d4186865c5 (diff)
community/syncthing: install .desktop files from upstream
Diffstat (limited to 'community/syncthing')
-rw-r--r--community/syncthing/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/syncthing/APKBUILD b/community/syncthing/APKBUILD
index 158a23aca98..2a247fa587a 100644
--- a/community/syncthing/APKBUILD
+++ b/community/syncthing/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=syncthing
pkgver=1.7.1
-pkgrel=0
+pkgrel=1
pkgdesc="Open Source Continuous File Synchronization"
options="chmod-clean"
url="https://syncthing.net/"
@@ -38,6 +38,9 @@ package() {
install -D -m755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ # Desktop files so people in Desktop Environments can put them on Autostart
+ install -Dm0644 etc/linux-desktop/*.desktop -t "$pkgdir"/usr/share/applications
+
# man pages
cd "$builddir/man"
local file