5 Commits

Author SHA1 Message Date
eb8eed47f6 Add openfortivpn 2024-06-06 14:41:34 +02:00
c13c553c01 Merge remote-tracking branch 'upstream/main' 2024-06-06 14:37:47 +02:00
8cf8878a95 Update openfortivpn-webview 2024-05-24 19:12:19 +02:00
eec2380fa7 Update pyright 2024-05-24 19:08:47 +02:00
c35e186763 Add openforti-webview + pyright 2024-05-24 19:00:24 +02:00
3 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
# Contributor: Mariam Jamal <mariam@mariamjamal.de>
# Maintainer: Mariam Jamal <mariam@mariamjamal.de>
pkgname=openfortivpn-webview-qt
_pkgver=1.2.0-electron
pkgver=1.2.0
pkgrel=0
pkgdesc="SAML/SSO client for openfortivpn"
url="https://github.com/gm-vm/openfortivpn-webview"
arch="all"
license="MIT"
depends_dev="qt6-qtbase-dev qt6-qtwebengine-dev"
makedepends="$depends_dev"
options="!check"
source="https://github.com/gm-vm/openfortivpn-webview/archive/v$_pkgver/openfortivpn-webview-qt-$_pkgver.tar.gz"
builddir="$srcdir/openfortivpn-webview-$_pkgver/$pkgname"
build() {
qmake6 .
make
}
package() {
install -Dm755 openfortivpn-webview "$pkgdir/usr/bin/$pkgname"
}
sha512sums="
2e6755250e1a02ad9187d417cac51f8562b3109fb89878dae00865fed51a8b8f44d6440ac0ca8aa15d1e712edb394b1bd874b94624c72588f97c8c887618169f openfortivpn-webview-qt-1.2.0-electron.tar.gz
"

41
openfortivpn/APKBUILD Normal file
View File

@@ -0,0 +1,41 @@
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=openfortivpn
pkgver=1.21.0
pkgrel=0
pkgdesc="Openfortivpn is a client for PPP+SSL VPN tunnel services"
url="https://github.com/adrienverge/openfortivpn"
arch="all"
license="GPL-3.0-only"
depends="ppp-daemon"
makedepends="
autoconf
automake
openssl-dev>3
"
subpackages="$pkgname-doc"
source="
$pkgname-$pkgver.tar.gz::https://github.com/adrienverge/openfortivpn/archive/v$pkgver.tar.gz
"
options="!check" # No test suite
prepare() {
default_prepare
autoreconf -fi
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
9751a1ce2f71fe51f8b15dec76afe600fc659b78a44397df9413ebdba9a77bc861fb75b1eb3540590c777447c15849e19033827cea3b494f2dac8075ec17142d openfortivpn-1.21.0.tar.gz
"

39
pyright/APKBUILD Normal file
View File

@@ -0,0 +1,39 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=npm
pkgname=pyright
pkgver=1.1.364
pkgrel=0
pkgdesc="A static language server for Python"
url="https://github.com/bash-lsp/bash-language-server"
arch="noarch"
license="MIT"
depends="nodejs"
makedepends="npm"
options="net !check" # tests fail
source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/pyright/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver/packages/$pkgname"
prepare() {
default_prepare
cd ../../
npm ci
}
build() {
npm install --frozen-lockfile
npm run build
}
package() {
install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/node_modules/"$pkgname"
cp -r dist langserver.index.js index.js package.json \
"$pkgdir"/usr/lib/node_modules/"$pkgname"
ln -sf ../lib/node_modules/"$pkgname"/index.js \
"$pkgdir"/usr/bin/"$pkgname"
ln -sf ../lib/node_modules/"$pkgname"/langserver.index.js \
"$pkgdir"/usr/bin/"$pkgname"-langserver
}
sha512sums="
700b524b620f4be8f4b8d7c73ef1452730d0c23697827d24d6180c33802ae40c03f728118ca3b7267c20bbe457016c506174f8cece7259c25102cfd853bd0463 pyright-1.1.364.tar.gz
"