mirror of
https://github.com/archlinux/aur.git
synced 2026-02-16 14:15:44 +01:00
update 1.4.5.a-2
This commit is contained in:
parent
2c22969b3f
commit
045ea549bc
2 changed files with 24 additions and 15 deletions
9
.SRCINFO
9
.SRCINFO
|
|
@ -1,17 +1,20 @@
|
|||
pkgbase = opengnb
|
||||
pkgdesc = GNB is open source de-centralized VPN to achieve layer3 network via p2p with the ultimate capability of NAT Traversal.
|
||||
pkgver = 1.4.5.a
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/gnbdev/opengnb
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
arch = riscv64
|
||||
license = GPLv3
|
||||
depends = miniupnpc
|
||||
makedepends = sed
|
||||
makedepends = libnatpmp
|
||||
makedepends = miniupnpc
|
||||
makedepends = zlib
|
||||
provides = opengnb
|
||||
conflicts = opengnb
|
||||
options = !strip
|
||||
source = opengnb-1.4.5.a.tar.gz::https://github.com/gnbdev/opengnb/archive/refs/tags/v1.4.5.a.tar.gz
|
||||
sha256sums = b935b7f2715bd1e004783213c8bc54d9a911c3f902d9d19cd9567b68bd797870
|
||||
sha256sums = a68817d63dcf3e15166b52389e5bc46affcf18f910932dd8dd8eb7247eb47b9a
|
||||
|
||||
pkgname = opengnb
|
||||
|
|
|
|||
30
PKGBUILD
30
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=opengnb
|
||||
pkgver=1.4.5.a
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="GNB is open source de-centralized VPN to achieve layer3 network via p2p with the ultimate capability of NAT Traversal."
|
||||
arch=(x86_64
|
||||
aarch64
|
||||
|
|
@ -12,18 +12,24 @@ license=('GPLv3')
|
|||
provides=(${pkgname})
|
||||
conflicts=(${pkgname})
|
||||
replaces=()
|
||||
depends=('miniupnpc')
|
||||
depends=()
|
||||
optdepends=()
|
||||
makedepends=()
|
||||
makedepends=(sed
|
||||
libnatpmp
|
||||
miniupnpc
|
||||
zlib)
|
||||
backup=()
|
||||
options=('!strip')
|
||||
install=
|
||||
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha256sums=('b935b7f2715bd1e004783213c8bc54d9a911c3f902d9d19cd9567b68bd797870')
|
||||
sha256sums=('a68817d63dcf3e15166b52389e5bc46affcf18f910932dd8dd8eb7247eb47b9a')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
sed -i 's|-I./libs/miniupnpc|-I/usr/include/miniupnpc/|g' Makefile.linux
|
||||
sed -i 's|-I./libs|-I./libs -I/usr/include|g' Makefile.linux
|
||||
sed -i 's|-I./libs/miniupnpc/|-I/usr/include/miniupnpc|g' Makefile.linux
|
||||
sed -i 's|-I./libs/libnatpmp | |g' Makefile.linux
|
||||
sed -i 's|-I./libs/zlib | |g' Makefile.linux
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
@ -34,11 +40,11 @@ build() {
|
|||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make -f Makefile.linux install
|
||||
install -dm0755 "${pkgdir}/usr" \
|
||||
"${pkgdir}/usr/lib/systemd/system/" \
|
||||
"${pkgdir}/usr/share/${pkgname}/"
|
||||
cp -rv bin "${pkgdir}/usr"
|
||||
cp -rv scripts/${pkgname}@.service "${pkgdir}/usr/lib/systemd/system/"
|
||||
cp -rv examples/* "${pkgdir}/usr/share/${pkgname}/"
|
||||
install -Dm0644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
install -Dm0755 bin/* -t "${pkgdir}/usr/bin/"
|
||||
install -Dm0644 scripts/${pkgname}@.service -t "${pkgdir}/usr/lib/systemd/system/"
|
||||
install -Dm0644 examples/node_config_example/*.conf -t "${pkgdir}/usr/share/${pkgname}/node_config_example/"
|
||||
install -Dm0644 examples/node_config_example/scripts/* -t "${pkgdir}/usr/share/${pkgname}/node_config_example/scripts/"
|
||||
install -Dm0644 docs/* -t "${pkgdir}/usr/share/doc/${pkgname}/docs/"
|
||||
install -Dm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue