initial commit

This commit is contained in:
2025-12-04 00:26:05 -05:00
commit c2679da680
3 changed files with 38 additions and 0 deletions

12
.SRCINFO Normal file
View File

@@ -0,0 +1,12 @@
pkgbase = diyvpn
pkgdesc = Simple DIY VPN
pkgver = r7.420798b
pkgrel = 1
url = https://gitea.balki.me/balki/diyvpn
arch = any
license = MPL-2.0
makedepends = git
source = git+https://gitea.balki.me/balki/diyvpn.git#branch=main
sha256sums = SKIP
pkgname = diyvpn

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
diyvpn*pkg.tar.zst
src/
pkg/
diyvpn/

22
PKGBUILD Normal file
View File

@@ -0,0 +1,22 @@
# Maintainer: Balakrishnan Balasubramanian <aur@balki.me>
pkgname=diyvpn
pkgrel=1
pkgver=r7.420798b
pkgdesc='Simple DIY VPN'
arch=('any')
license=('MPL-2.0')
makedepends=('git')
url="https://gitea.balki.me/balki/$pkgname"
source=("git+$url.git#branch=main")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
cd "$pkgname"
make PREFIX="$pkgdir/usr" install
}