chore: sync AUR packages (shared)
This commit is contained in:
1 parent
3a45bba9bd
commit
c9be23c3f4
2 files changed
+13
-12
No files matched your search
@@ -1,10 +1,11 @@
|
|||||||
pkgbase = localsend
|
pkgbase = localsend
|
||||||
pkgdesc = An open source cross-platform alternative to AirDrop
|
pkgdesc = An open source cross-platform alternative to AirDrop
|
||||||
pkgver = 1.17.0
|
pkgver = 1.17.0
|
||||||
pkgrel = 2
|
pkgrel = 3
|
||||||
url = https://github.com/localsend/localsend
|
url = https://github.com/localsend/localsend
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = MIT
|
arch = aarch64
|
||||||
|
license = Apache-2.0
|
||||||
makedepends = clang
|
makedepends = clang
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
makedepends = fvm
|
makedepends = fvm
|
||||||
|
|||||||
@@ -1,21 +1,16 @@
|
|||||||
# Maintainer:
|
# Maintainer:
|
||||||
# Contributor: Patrick Northon <northon_patrick3@yahoo.ca>
|
# Contributor: Patrick Northon <northon_patrick3@yahoo.ca>
|
||||||
|
|
||||||
## links
|
|
||||||
# https://localsend.org/
|
|
||||||
# https://github.com/localsend/localsend
|
|
||||||
|
|
||||||
## options
|
|
||||||
: ${_install_path:=usr/lib}
|
: ${_install_path:=usr/lib}
|
||||||
|
|
||||||
_pkgname="localsend"
|
_pkgname="localsend"
|
||||||
pkgname="$_pkgname"
|
pkgname="$_pkgname"
|
||||||
pkgver=1.17.0
|
pkgver=1.17.0
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="An open source cross-platform alternative to AirDrop"
|
pkgdesc="An open source cross-platform alternative to AirDrop"
|
||||||
url="https://github.com/localsend/localsend"
|
url="https://github.com/localsend/localsend"
|
||||||
license=('MIT')
|
license=('Apache-2.0')
|
||||||
arch=('x86_64')
|
arch=('x86_64' 'aarch64')
|
||||||
|
|
||||||
depends=(
|
depends=(
|
||||||
'libayatana-appindicator'
|
'libayatana-appindicator'
|
||||||
@@ -23,7 +18,7 @@ depends=(
|
|||||||
makedepends=(
|
makedepends=(
|
||||||
'clang'
|
'clang'
|
||||||
'cmake'
|
'cmake'
|
||||||
'fvm' # AUR
|
'fvm'
|
||||||
'git'
|
'git'
|
||||||
'lld'
|
'lld'
|
||||||
'llvm'
|
'llvm'
|
||||||
@@ -58,7 +53,12 @@ build() (
|
|||||||
)
|
)
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_pkgsrc/app/build/linux/x64/release/bundle"
|
local _arch="x64"
|
||||||
|
if [[ "${CARCH::1}" == "a" ]]; then
|
||||||
|
_arch="arm64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$_pkgsrc/app/build/linux/$_arch/release/bundle"
|
||||||
|
|
||||||
# files
|
# files
|
||||||
install -Dm755 "localsend_app" "$pkgdir/$_install_path/$_pkgname/$_pkgname"
|
install -Dm755 "localsend_app" "$pkgdir/$_install_path/$_pkgname/$_pkgname"
|
||||||
|
|||||||
Reference in new issue
Block a user