mirror of
https://github.com/archlinux/aur.git
synced 2026-02-06 20:12:25 +01:00
syncclipboard-server: 3.1.1-1
This commit is contained in:
parent
9109fe4bce
commit
11fc3ec787
3 changed files with 15 additions and 8 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = syncclipboard-server
|
||||
pkgdesc = Cross-Platform Cipboard Syncing Solution (Server)
|
||||
pkgver = 3.1.0
|
||||
pkgver = 3.1.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/Jeric-X/SyncClipboard
|
||||
arch = x86_64
|
||||
|
|
@ -10,11 +10,11 @@ pkgbase = syncclipboard-server
|
|||
depends = aspnet-runtime-8.0
|
||||
backup = etc/syncclipboard/appsettings.json
|
||||
backup = etc/syncclipboard/appsettings.Development.json
|
||||
source = syncclipboard-3.1.0.tar.gz::https://github.com/Jeric-X/SyncClipboard/archive/refs/tags/v3.1.0.tar.gz
|
||||
source = syncclipboard-3.1.1.tar.gz::https://github.com/Jeric-X/SyncClipboard/archive/refs/tags/v3.1.1.tar.gz
|
||||
source = syncclipboard.service
|
||||
source = syncclipboard.sysusers
|
||||
source = syncclipboard.tmpfiles
|
||||
sha256sums = cd67b468577ee8abaf9f957bc3467ffcf356a9bb046479aa39054b0292f73a6a
|
||||
sha256sums = 359030e91aa83c984da278eda408ffac4f1e5366ddcbda5b69bb66416838a1eb
|
||||
sha256sums = b4681cd27db19cb742c89d5e50ec00bd0231d2f773a60c5c85c00577798007d1
|
||||
sha256sums = c926ecd545f945ac27cf4b2e54004f0d6847d58f012b9dda5b4e8416523e991c
|
||||
sha256sums = bf6ce00dbedafc8b2874818138c37d8371cb165721c5b88293c64f216cee1c66
|
||||
|
|
|
|||
2
LICENSE
2
LICENSE
|
|
@ -1,4 +1,4 @@
|
|||
Copyright (C) 2024-2025 by devome <evinedeng@hotmail.com>
|
||||
Copyright (C) 2024-2026 by devome <evinedeng@hotmail.com>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
|
||||
|
||||
|
|
|
|||
15
PKGBUILD
15
PKGBUILD
|
|
@ -4,7 +4,7 @@ _dotnet_ver=8.0
|
|||
_reponame=SyncClipboard
|
||||
_pkgname="${_reponame,,}"
|
||||
pkgname="${_pkgname}-server"
|
||||
pkgver=3.1.0
|
||||
pkgver=3.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Cross-Platform Cipboard Syncing Solution (Server)"
|
||||
arch=("x86_64" "aarch64")
|
||||
|
|
@ -17,7 +17,7 @@ source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.g
|
|||
"${_pkgname}.service"
|
||||
"${_pkgname}.sysusers"
|
||||
"${_pkgname}.tmpfiles")
|
||||
sha256sums=('cd67b468577ee8abaf9f957bc3467ffcf356a9bb046479aa39054b0292f73a6a'
|
||||
sha256sums=('359030e91aa83c984da278eda408ffac4f1e5366ddcbda5b69bb66416838a1eb'
|
||||
'b4681cd27db19cb742c89d5e50ec00bd0231d2f773a60c5c85c00577798007d1'
|
||||
'c926ecd545f945ac27cf4b2e54004f0d6847d58f012b9dda5b4e8416523e991c'
|
||||
'bf6ce00dbedafc8b2874818138c37d8371cb165721c5b88293c64f216cee1c66')
|
||||
|
|
@ -36,6 +36,11 @@ build() {
|
|||
-p:DebugSymbols=false \
|
||||
-p:DebugType=none
|
||||
mv builddir/appsettings* .
|
||||
|
||||
case $CARCH in
|
||||
x86_64) find builddir/runtimes -mindepth 1 -maxdepth 1 -type d ! -name 'linux-x64' -exec rm -rf {} + ;;
|
||||
aarch64) find builddir/runtimes -mindepth 1 -maxdepth 1 -type d ! -name 'linux-arm64' -exec rm -rf {} + ;;
|
||||
esac
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
@ -47,10 +52,12 @@ package() {
|
|||
|
||||
cd "${_reponame}-${pkgver}"
|
||||
install -Dm644 *.md docs/*.md -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
install -Dm644 builddir/* -t "${pkgdir}/usr/lib/${_pkgname}/server"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -Dm644 appsettings*.json -t "${pkgdir}/etc/${_pkgname}"
|
||||
|
||||
cd builddir
|
||||
find -type f -exec install -Dm644 {} "${pkgdir}/usr/lib/${_pkgname}/server/"{} \;
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
ln -sf "${_binary}" "${pkgdir}/usr/bin/${pkgname}"
|
||||
chmod 755 "${pkgdir}/${_binary}"
|
||||
chmod 755 "${pkgdir}${_binary}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue