[PKGBUILD] add Nextcloud Talk desktop PKGBUILD
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f79e499237
commit
d794c6e108
32
code/PKGBUILDs/NextcloudTalk/PKGBUILD
Normal file
32
code/PKGBUILDs/NextcloudTalk/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
|
||||||
|
_pkgname=nextcloud-talk
|
||||||
|
pkgname="${_pkgname}-bin"
|
||||||
|
pkgver=0.7.0
|
||||||
|
_dirname="Nextcloud Talk-linux-x64"
|
||||||
|
_archivename="${_dirname// /.}-${pkgver}"
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Nextcloud Talk Desktop Client Preview"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/nextcloud/talk-desktop"
|
||||||
|
makedepend=('unzip')
|
||||||
|
license=('AGPL-3.0')
|
||||||
|
provides=('nextcloud-talk')
|
||||||
|
source=("https://github.com/nextcloud-releases/talk-desktop/releases/download/v${pkgver}/${_archivename}.zip"
|
||||||
|
nextcloud-talk.desktop )
|
||||||
|
sha256sums=('3a46807c2bb60519d4fee02fdb459f44e77ba1231a846172daa769244a58fa56'
|
||||||
|
'2fba0d3e869145cbdfcd24c104d196ee8857a05950b7a59b47f025f39e9e5214')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir"
|
||||||
|
mkdir -p "${pkgdir}/usr/share/applications/"
|
||||||
|
install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/"
|
||||||
|
cd "$_dirname"
|
||||||
|
mkdir -p "${pkgdir}/usr/share-licenses/${_pkgname}"
|
||||||
|
install -Dm644 LICENSE "${pkgdir}/usr/share-licenses/${_pkgname}"
|
||||||
|
install -Dm644 LICENSES.chromium.html "${pkgdir}/usr/share-licenses/${_pkgname}"
|
||||||
|
mkdir -p "${pkgdir}/opt/nextcloud-talk"
|
||||||
|
mv "Nextcloud Talk" nextcloud-talk
|
||||||
|
mv * "${pkgdir}/opt/nextcloud-talk/"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
9
code/PKGBUILDs/NextcloudTalk/nextcloud-talk.desktop
Normal file
9
code/PKGBUILDs/NextcloudTalk/nextcloud-talk.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Nextcloud Talk
|
||||||
|
Version=0.7.0
|
||||||
|
Type=Application
|
||||||
|
Exec=/opt/nextcloud-talk/nextcloud-talk
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
Categories=Network
|
||||||
|
Keywords=Nextcloud
|
Loading…
Reference in New Issue
Block a user