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