aboutsummaryrefslogtreecommitdiffstats
path: root/community/syncthing/APKBUILD
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/APKBUILD
parent5417c8fc9f2385480e8ec0074bde52d4186865c5 (diff)
downloadaports-b4ec14e89b04205551d9c53244e5ccacd035e054.tar.gz
aports-b4ec14e89b04205551d9c53244e5ccacd035e054.tar.bz2
aports-b4ec14e89b04205551d9c53244e5ccacd035e054.tar.xz
community/syncthing: install .desktop files from upstream
Diffstat (limited to 'community/syncthing/APKBUILD')
-rw-r--r--community/syncthing/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/syncthing/APKBUILD b/community/syncthing/APKBUILD
index 158a23aca9..2a247fa587 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