prepare for AUR
This commit is contained in:
6
.SRCINFO
6
.SRCINFO
@@ -1,6 +1,6 @@
|
||||
pkgbase = diyvpn
|
||||
pkgbase = diyvpn-git
|
||||
pkgdesc = Simple DIY VPN
|
||||
pkgver = r7.420798b
|
||||
pkgver = r8.614f694
|
||||
pkgrel = 1
|
||||
url = https://gitea.balki.me/balki/diyvpn
|
||||
arch = any
|
||||
@@ -9,4 +9,4 @@ pkgbase = diyvpn
|
||||
source = git+https://gitea.balki.me/balki/diyvpn.git#branch=main
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = diyvpn
|
||||
pkgname = diyvpn-git
|
||||
|
||||
11
PKGBUILD
11
PKGBUILD
@@ -1,22 +1,23 @@
|
||||
# Maintainer: Balakrishnan Balasubramanian <aur@balki.me>
|
||||
|
||||
pkgname=diyvpn
|
||||
_pkgname=diyvpn
|
||||
pkgname=diyvpn-git
|
||||
pkgrel=1
|
||||
pkgver=r7.420798b
|
||||
pkgver=r8.614f694
|
||||
pkgdesc='Simple DIY VPN'
|
||||
arch=('any')
|
||||
license=('MPL-2.0')
|
||||
makedepends=('git')
|
||||
url="https://gitea.balki.me/balki/$pkgname"
|
||||
url="https://gitea.balki.me/balki/$_pkgname"
|
||||
source=("git+$url.git#branch=main")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
cd "$_pkgname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
cd "$_pkgname"
|
||||
make PREFIX="$pkgdir/usr" install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user