summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorD3SOX2020-03-02 18:58:38 +0100
committerD3SOX2020-03-02 18:58:38 +0100
commit4e3a8af1a24f69efcec138eaf1beb0ae73ab79a3 (patch)
tree43d49e57872b606831352fd9c380fc1a6277b551
parent82cedce76afd94a005687e4b75747bc95028bf5f (diff)
downloadaur-4e3a8af1a24f69efcec138eaf1beb0ae73ab79a3.tar.gz
correctly install license
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4541e786955b..80672ca37e24 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,11 @@
pkgbase = anydesk-bin
pkgdesc = 'AnyDesk Free' is an All-In-One Software for Remote Support (Generic based package)
pkgver = 5.5.4
- pkgrel = 2
+ pkgrel = 3
url = https://anydesk.com
arch = i686
arch = x86_64
- license = custom:Freeware
+ license = custom
depends = fakeroot
depends = python-shiboken2
depends = gtkglext
diff --git a/PKGBUILD b/PKGBUILD
index 26655e5ef0ed..57a397381785 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: Nico <desoxhd@gmail.com>
pkgname=anydesk-bin
pkgver=5.5.4
-pkgrel=2
+pkgrel=3
pkgdesc="'AnyDesk Free' is an All-In-One Software for Remote Support (Generic based package)"
arch=('i686' 'x86_64')
url="https://anydesk.com"
-license=('custom:Freeware')
+license=('custom')
depends=('fakeroot' 'python-shiboken2' 'gtkglext' 'libglvnd' 'gtk2' 'libx11' 'glibc' 'glib2' 'gdk-pixbuf2' 'libxcb' 'cairo' 'pango' 'libxi' 'libxrandr' 'libxtst' 'libxext' 'libxfixes' 'libxdamage' 'gcc-libs')
optdepends=('libpulse')
conflicts=('anydesk' 'anydesk-test' 'anydesk-debian')
@@ -20,6 +20,7 @@ package() {
install -Dm 755 "${srcdir}/anydesk-${pkgver}/anydesk" "${pkgdir}/usr/bin/anydesk"
install -Dm 644 "${srcdir}/anydesk-${pkgver}/anydesk.desktop" "${pkgdir}/usr/share/applications/anydesk.desktop"
install -Dm 644 "${srcdir}/anydesk-${pkgver}/icons/hicolor/scalable/apps/anydesk.svg" "${pkgdir}/usr/share/pixmaps/anydesk.svg"
+ install -Dm 644 "${srcdir}/anydesk-${pkgver}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
msg2 "\e[1;32mAnyDesk has a systemd service for unattended access. Enable it with: systemctl enable --now anydesk \e[0m"
install -Dm 644 "${srcdir}/anydesk-${pkgver}/systemd/anydesk.service" "${pkgdir}/usr/lib/systemd/system/anydesk.service"
}