prepare for AUR
This commit is contained in:
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