diff options
author | lynix | 2020-04-19 08:57:54 +0200 |
---|---|---|
committer | lynix | 2020-04-19 08:57:54 +0200 |
commit | bcd8f54df99c0366ae521022d7221e8e91407038 (patch) | |
tree | 5379c47e7b5864dd8636dad5025f1708bb32daa3 | |
download | aur-bcd8f54df99c0366ae521022d7221e8e91407038.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rwxr-xr-x | linphone.sh | 3 |
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5100c3b983fd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = linphone-desktop-appimage + pkgdesc = A free VoIP and video softphone based on the SIP protocol (AppImage version) + pkgver = 4.2.0.alpha.14 + pkgrel = 1 + url = https://www.linphone.org + arch = x86_64 + license = GPL2 + depends = fuse2 + provides = linphone-desktop=4.2.0.alpha.14 + conflicts = linphone-desktop-all + conflicts = linphone-desktop-git + conflicts = linphone-desktop-all-git + conflicts = linphone-git + options = !strip + source = https://www.linphone.org/snapshots/AppImages/Linphone-4.2.0-alpha.14+0d3c37b.AppImage + source = linphone.sh + sha256sums = 9a5971c41c2d990bb34bc31c189cd0160bf42b465d612bb76c4e48e94872b735 + sha256sums = 1238a372faa4d6de8569b508c95ac39b7d21d3619660740b3ac4306642076bd2 + +pkgname = linphone-desktop-appimage + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..115ddeeccc31 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: lynix <lynix47@gmail.com> + +pkgname=linphone-desktop-appimage +pkgver=4.2.0.alpha.14 +_pkgver=4.2.0-alpha.14+0d3c37b +pkgrel=1 +pkgdesc="A free VoIP and video softphone based on the SIP protocol (AppImage version)" +arch=('x86_64') +url='https://www.linphone.org' +license=('GPL2') +depends=('fuse2') +provides=("linphone-desktop=${pkgver}") +conflicts=('linphone-desktop-all' 'linphone-desktop-git' 'linphone-desktop-all-git' 'linphone-git') +source=("https://www.linphone.org/snapshots/AppImages/Linphone-${_pkgver}.AppImage" + 'linphone.sh') +sha256sums=('9a5971c41c2d990bb34bc31c189cd0160bf42b465d612bb76c4e48e94872b735' + '1238a372faa4d6de8569b508c95ac39b7d21d3619660740b3ac4306642076bd2') +options=(!strip) +_image="$(basename "${source[0]}")" + +prepare() { + cd "${srcdir}" + chmod +x "${_image}" + ./"${_image}" --appimage-extract +} + +package() { + install -Dm755 "${srcdir}/${_image}" "${pkgdir}/opt/appimages/linphone.AppImage" + install -Dm755 "${srcdir}/linphone.sh" "${pkgdir}/usr/bin/linphone" + install -dm755 "${pkgdir}/usr/share/" + cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/" + install -Dm644 "${srcdir}/squashfs-root/linphone.desktop" "${pkgdir}/usr/share/applications/linphone.desktop" +} + +# vim:set ts=2 sw=2 et: diff --git a/linphone.sh b/linphone.sh new file mode 100755 index 000000000000..3fe5eb4c4df5 --- /dev/null +++ b/linphone.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +/opt/appimages/linphone.AppImage "$@" |