forked from Plemya-x/alr-repo
		
	syncthing 1.29.3
This commit is contained in:
		| @@ -1,33 +1,51 @@ | |||||||
| name='syncthing-relaysrv' | name='syncthing-relaysrv' | ||||||
| version='1.29.2' | version='1.29.3' | ||||||
| release='1' | release='1' | ||||||
| desc='This is the relay server for the syncthing project.' | desc='This is the relay server for the syncthing project.' | ||||||
|  | desc_ru='Релейный сервер для проекта Syncthing.' | ||||||
| homepage='https://syncthing.net/' | homepage='https://syncthing.net/' | ||||||
| maintainer="Евгений Храмов <xpamych@yandex.ru>" | maintainer="Евгений Храмов <xpamych@yandex.ru>" | ||||||
| architectures=('amd64') | architectures=('amd64') | ||||||
| license=('MPL-2.0') | license=('MPL-2.0') | ||||||
| provides=('syncthing-relaysrv') | provides=('syncthing-relaysrv') | ||||||
| conflicts=('syncthing-relaysrv') | conflicts=('syncthing-relaysrv') | ||||||
|  |  | ||||||
| deps=('glibc') | deps=('glibc') | ||||||
| deps_debian=('libc6') | deps_debian=('libc6') | ||||||
| build_deps=('git' 'go') | build_deps=('git' 'go') | ||||||
|  |  | ||||||
| sources=("https://github.com/syncthing/relaysrv/releases/download/v${version}/strelaysrv-linux-amd64-v${version}.tar.gz" | sources=( | ||||||
|  |   "https://github.com/syncthing/relaysrv/releases/download/v${version}/strelaysrv-linux-amd64-v${version}.tar.gz" | ||||||
|   "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.service" |   "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.service" | ||||||
|   "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.tmpfiles" |   "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.tmpfiles" | ||||||
| 	"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.sysusers") |   "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.sysusers" | ||||||
| checksums=('SKIP' | ) | ||||||
|  |  | ||||||
|  | checksums=( | ||||||
|   'SKIP' |   'SKIP' | ||||||
| 	'SKIP' | 	'SKIP' | ||||||
| 	'SKIP') | 	'SKIP' | ||||||
|  | 	'SKIP' | ||||||
|  | ) | ||||||
|  |  | ||||||
| prepare() { | prepare() { | ||||||
| 	cd "${srcdir}" | 	cd "${srcdir}" | ||||||
| } | } | ||||||
|  |  | ||||||
| package() { | package() { | ||||||
| 	install -Dm755 "./strelaysrv-linux-amd64-v${version}/strelaysrv" "${pkgdir}/usr/bin/syncthing-relaysrv" | 	install-binary ./strelaysrv-linux-amd64-v${version}/strelaysrv syncthing-relaysrv | ||||||
| 	install -Dm644 "${srcdir}/syncthing-relaysrv.service" "${pkgdir}/usr/lib/systemd/system/syncthing-relaysrv.service" | 	install-systemd ./syncthing-relaysrv.service | ||||||
| 	install -Dm644 "${srcdir}/syncthing-relaysrv.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/syncthing-relaysrv.conf" | 	install-license ./strelaysrv-linux-amd64-v${version}/LICENSE.txt ./syncthing-relaysrv/LICENSE | ||||||
| 	install -Dm644 "${srcdir}/syncthing-relaysrv.sysusers" "${pkgdir}/usr/lib/sysusers.d/syncthing-relaysrv.conf" | 	install -Dm644 ./syncthing-relaysrv.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/syncthing-relaysrv.conf | ||||||
|  | 	install -Dm644 ./syncthing-relaysrv.sysusers ${pkgdir}/usr/lib/sysusers.d/syncthing-relaysrv.conf | ||||||
|  | 	install -Dm644 ./strelaysrv-linux-amd64-v${version}/README.txt ${pkgdir}/usr/share/doc/syncthing-relaysrv/README.md | ||||||
|  | } | ||||||
|  |  | ||||||
|  | files() { | ||||||
|  |   	echo ./usr/bin/syncthing-relaysrv | ||||||
|  |   	echo ./usr/lib/systemd/system/syncthing-relaysrv.service | ||||||
|  |     echo ./usr/share/licenses/syncthing-relaysrv/LICENSE | ||||||
|  |   	echo ./usr/lib/tmpfiles.d/syncthing-relaysrv.conf | ||||||
|  |   	echo ./usr/lib/sysusers.d/syncthing-relaysrv.conf | ||||||
|  |     files-find-doc syncthing-relaysrv | ||||||
| } | } | ||||||
| @@ -1,7 +1,8 @@ | |||||||
| name='syncthing' | name='syncthing' | ||||||
| version='1.29.2' | version='1.29.3' | ||||||
| release='1' | release='1' | ||||||
| desc='Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers.' | desc='Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers.' | ||||||
|  | desc_ru='Syncthing — это программа для непрерывной синхронизации файлов. Она синхронизирует файлы между двумя или более компьютерами.' | ||||||
| homepage='https://syncthing.net/' | homepage='https://syncthing.net/' | ||||||
| maintainer="Евгений Храмов <xpamych@yandex.ru>" | maintainer="Евгений Храмов <xpamych@yandex.ru>" | ||||||
| architectures=('amd64') | architectures=('amd64') | ||||||
| @@ -20,10 +21,21 @@ prepare() { | |||||||
| } | } | ||||||
|  |  | ||||||
| package() { | package() { | ||||||
| 	install -Dm755 ./${provides}-linux-amd64-v${version}/syncthing "${pkgdir}/usr/bin/syncthing" | 	install-binary ./${name}-linux-amd64-v${version}/syncthing | ||||||
| 	#install -Dm644 man/strelaysrv.1 "${pkgdir}/usr/share/man/man1/${provides}.1" | 	install -Dm644 ./${name}-linux-amd64-v${version}/README.txt ${pkgdir}/usr/share/doc/syncthing/README.md | ||||||
| 	install -Dm644 ./${provides}-linux-amd64-v${version}/README.txt "${pkgdir}/usr/share/doc/syncthing/README.md" | 	install-systemd ./${name}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing@.service | ||||||
| 	install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing-resume.service" "${pkgdir}/usr/lib/systemd/system/syncthing-resume.service" | 	install-systemd-user ./${name}-linux-amd64-v${version}/etc/linux-systemd/user/syncthing.service | ||||||
| 	install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing@.service" "${pkgdir}/usr/lib/systemd/system/syncthing@.service" | 	install-desktop ./${name}-linux-amd64-v${version}/etc/linux-desktop/syncthing-start.desktop | ||||||
| 	install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/user/syncthing.service" "${pkgdir}/usr/lib/systemd/user/syncthing.service" | 	install-desktop ./${name}-linux-amd64-v${version}/etc/linux-desktop/syncthing-ui.desktop | ||||||
|  | 	install-license ./${name}-linux-amd64-v${version}/LICENSE.txt syncthing/LICENSE | ||||||
|  | } | ||||||
|  |  | ||||||
|  | files() { | ||||||
|  |   	echo ./usr/bin/syncthing | ||||||
|  |     files-find-doc syncthing | ||||||
|  |   	echo ./usr/lib/systemd/system/syncthing@.service | ||||||
|  |   	echo ./usr/lib/systemd/user/syncthing.service | ||||||
|  |   	echo ./usr/share/applications/syncthing-start.desktop | ||||||
|  |   	echo ./usr/share/applications/syncthing-ui.desktop | ||||||
|  |   	echo ./usr/share/licenses/syncthing/LICENSE | ||||||
| } | } | ||||||
		Reference in New Issue
	
	Block a user