You are not logged in.
Hereby I propose to add DWService to AUR. Searched as guided here and no packages avaliable yet.
Relevant links:
* Main page https://www.dwservice.net/
* Licenses https://www.dwservice.net/en/licenses-sources.html
* Source code repository https://github.com/dwservice/agent
* Source code https://github.com/dwservice/agent/archive/master.zip
* Silent install from CLI https://docs.dwservice.net/docs/site/dw … -silently/
I do not have any relation with DWService, just its user. Also no experience with writing PKGBUILD. So, I might be not properly determined dependencies, etc. Therefore I do not claim to be a package maintainer. So, I apologies for modest one. But software is good and worth of using it. It has also configurable options via JSON settings file.
The server might be closed source, but at least client is free and the client will be installed. It is very much community-driven project, as community is also providing servers. I guess therefore, that also server source code is available, although not publicly. I guess this is not the issue, as e.g. also AnyDesk, which is purely closed source project, is already available via AUR.
So far the PKGBUILD:
# Maintainer: Your Name <youremail@domain.com>
pkgname=dwservice
pkgver=0.0.1
pkgrel=1
pkgdesc="Versatile remote management software regardless of network settings"
arch=(x86/x86_64)
url="https://www.dwservice.net/download.html"
license=('MPLv2')
groups=()
depends=(python2.7, g++, make)
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://github.com/dwservice/agent.git)
noextract=()
md5sums=() #autofill using updpkgsums
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
Last edited by zeroconf (2021-09-07 10:48:27)
Offline
create_config.py requires user input which is not allowed in a PKGBUILD.
Not sure how to package the project.
# Maintainer: Your Name <youremail@domain.com>
pkgname=dwservice
pkgver=r114.799b0ef
pkgrel=1
pkgdesc="Versatile remote management software regardless of network settings"
arch=(x86_64)
url="https://www.dwservice.net/download.html"
license=('MPL2')
groups=()
depends=(python2 libx11 libxpm libxtst)
makedepends=(git)
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname::git+https://github.com/dwservice/agent.git")
noextract=()
md5sums=('SKIP')
prepare() {
sed -i '/sys\/vtimes.h/d' dwservice/lib_screencapture/src/linuxscreencapture.h #deprecated header was removed in glibc 2.33
}
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $pkgname/make
python2 compile_all.py # compile all c++ libraries
# python2 create_config.py # requires user input
}
package() {
cd $pkgname
make DESTDIR="$pkgdir/" install
}
Online