You are not logged in.
I created a PKGBUILD for openpyn-nordvpn, please help me to test it before loading on aur.
# Maintainer: Ubermensch <francescomarra@protonmail.com>>
pkgname=openpyn-nordvpn-git
_pkgname=openvpn-nordvpn
pkgver=1
pkgrel=1
pkgdesc="Easily connect to and switch between, OpenVPN servers hosted by NordVPN. (+patch leakes)"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/jotyGill/openpyn-nordvpn"
license=('GPL')
depends=('openvpn' 'python-gobject' 'unzip' 'wget')
makedepends=('python' 'git')
provides=('openvpn-nordvpn')
conflicts=('openvpn-nordvpn')
source=('openpyn-nordvpn::git+https://github.com/jotyGill/openpyn-nordvpn.git')
md5sums=('SKIP')
package() {
cd "$srcdir/openpyn-nordvpn"
python3 setup.py install --root="${pkgdir}"
}
Bye
Offline
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
...but no build function? One or the other are wrong.
You're also missing a pkgver function.
_pkgname is useless, and probably wrong anyway.
Last edited by Scimmia (2017-12-02 16:29:19)
Offline
Ok
# Maintainer: Ubermensch <francescomarra@protonmail.com>
pkgname=openpyn-nordvpn-git
pkgver=1
pkgrel=1.7.3
pkgdesc="Easily connect to and switch between, OpenVPN servers hosted by NordVPN. (+patch leakes)"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/jotyGill/openpyn-nordvpn"
license=('GPL')
depends=('openvpn' 'python-gobject' 'unzip' 'wget')
makedepends=('python' 'git')
provides=('openvpn-nordvpn')
conflicts=('openvpn-nordvpn')
source=('openpyn-nordvpn::git+https://github.com/jotyGill/openpyn-nordvpn.git')
md5sums=('SKIP')
package() {
cd "$srcdir/openpyn-nordvpn"
python3 setup.py install --root="${pkgdir}"
}
The build is not necessary.... For the architetture why is wrong?
Thanks
Offline
You're still missng a pkgver function.
https://wiki.archlinux.org/index.php/VC … guidelines
Also pkgrel should be an integer.
https://wiki.archlinux.org/index.php/PKGBUILD#pkgrel
Last edited by Slithery (2017-12-02 16:56:14)
Offline
# Maintainer: Ubermensch <francescomarra@protonmail.com>
pkgname=openpyn-nordvpn-git
pkgver=1.7.3
pkgrel=1
pkgdesc="Easily connect to and switch between, OpenVPN servers hosted by NordVPN. (+patch leakes)"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/jotyGill/openpyn-nordvpn"
license=('GPL')
depends=('openvpn' 'python-gobject' 'unzip' 'wget')
makedepends=('python' 'git')
provides=('openvpn-nordvpn')
conflicts=('openvpn-nordvpn')
source=('openpyn-nordvpn::git+https://github.com/jotyGill/openpyn-nordvpn.git')
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
# Use the tag of the last commit
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/openpyn-nordvpn"
python3 setup.py install --root="${pkgdir}"
}
makepkg
==> Creazione del pacchetto: openpyn-nordvpn-git 1.7.3-1 (sab 2 dic 2017, 17.53.07, CET)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
-> Aggiornamento del repository openpyn-nordvpn git in corso...
Fetching origin
==> Validazione di source file con md5sums...
openpyn-nordvpn ... Ignorato
==> Estrazione dei sorgenti in corso...
-> Creazione di una copia di lavoro del repository openpyn-nordvpn git in corso...
Ripristina il branch 'makepkg'
==> Avvio di pkgver() in corso...
/home/ubermensch/Prova/PKGBUILD: riga 19: cd: openpyn-nordvpn-git: File o directory non esistente
==> ERRORE: pkgver non può essere vuoto.
==> ERRORE: pkgver() ha generato una versione non valida:
Offline
Please post outputs in English...
https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
The build is not necessary.... For the architetture why is wrong?
If you're building anything, you need a build function. If you're not, there's nothing architecture specific in the package, so it shouldn't say that there is.
https://wiki.archlinux.org/index.php/PKGBUILD#arch
Offline
Please post outputs in English...
https://wiki.archlinux.org/index.php/Co … s_and_code
Sorry
makepkg
==> Creation of the package: openpyn-nordvpn-git 1.7.3-1 (Sat 2 Dec 2017, 17.53.07, CET)
==> Checking dependencies during startup ...
==> Checking dependencies during compilation ...
==> Download sources ...
-> Update of openpyn-nordvpn git repository in progress ...
Recovery of origin
==> Validation of source files with md5sums ...
openpyn-nordvpn ... Ignored
==> Extracting sources in progress ...
-> Creating a working copy of the openpyn-nordvpn git repository ...
Restore the 'makepkg' branch
==> Starting pkgver () in progress ...
/ home / ubermensch / Trial / PKGBUILD: line 19: cd: openpyn-nordvpn-git: File or directory does not exist
==> ERROR: pkgver can not be empty.
==> ERROR: pkgver () has generated an invalid version:
Offline
^-Ubermensch-^ wrote:The build is not necessary.... For the architetture why is wrong?
If you're building anything, you need a build function. If you're not, there's nothing architecture specific in the package, so it shouldn't say that there is.
https://wiki.archlinux.org/index.php/PKGBUILD#arch
Thanks
# Maintainer: Ubermensch <francescomarra@protonmail.com>
pkgname=openpyn-nordvpn-git
pkgver=1.7.3
pkgrel=1
pkgdesc="Easily connect to and switch between, OpenVPN servers hosted by NordVPN. (+patch leakes)"
arch=('x86_64')
url="https://github.com/jotyGill/openpyn-nordvpn"
license=('GPL')
depends=('openvpn' 'python-gobject' 'unzip' 'wget')
makedepends=('python' 'git')
provides=('openvpn-nordvpn')
conflicts=('openvpn-nordvpn')
source=('openpyn-nordvpn::git+https://github.com/jotyGill/openpyn-nordvpn.git')
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
# Use the tag of the last commit
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/openpyn-nordvpn"
python3 setup.py install --root="${pkgdir}"
}
Offline
/ home / ubermensch / Trial / PKGBUILD: line 19: cd: openpyn-nordvpn-git: File or directory does not exist
Error seems pretty self-explanatory.
Offline
Scimmia wrote:^-Ubermensch-^ wrote:The build is not necessary.... For the architetture why is wrong?
If you're building anything, you need a build function. If you're not, there's nothing architecture specific in the package, so it shouldn't say that there is.
https://wiki.archlinux.org/index.php/PKGBUILD#archThanks
You missed the whole point. It's still wrong.
Offline
/ home / ubermensch / Trial / PKGBUILD: line 19: cd: openpyn-nordvpn-git: File or directory does not exist
Error seems pretty self-explanatory.
Now works without errors. The architetture i supposed is indipendent so i put "any"...
# Maintainer: Ubermensch <francescomarra@protonmail.com>
pkgname=openpyn-nordvpn-git
pkgver=1.7.3
pkgrel=1
pkgdesc="Easily connect to and switch between, OpenVPN servers hosted by NordVPN. (+patch leakes)"
arch=('any')
url="https://github.com/jotyGill/openpyn-nordvpn"
license=('GPL')
depends=('openvpn' 'python-gobject' 'unzip' 'wget')
makedepends=('python' 'git')
provides=('openvpn-nordvpn')
conflicts=('openvpn-nordvpn')
source=('openpyn-nordvpn::git+https://github.com/jotyGill/openpyn-nordvpn.git')
md5sums=('SKIP')
pkgver() {
cd openpyn-nordvpn
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/openpyn-nordvpn"
python3 setup.py install --root="${pkgdir}"
}
Offline
Boys unfortunately I can not load the two packages on AUR because i'm dumnie with git someone could do ?
openpyn-nordvpn-git
# Maintainer: Ubermensch <francescomarra@protonmail.com>
pkgname=openpyn-nordvpn-svn
pkgver=1.7.3
pkgrel=1
pkgdesc="Easily connect to and switch between, OpenVPN servers hosted by NordVPN. (+patch leakes)"
arch=('x86_64')
url="https://github.com/jotyGill/openpyn-nordvpn"
license=('GPL')
depends=('openvpn' 'python-gobject' 'unzip' 'wget')
makedepends=('python' 'git')
provides=('openvpn-nordvpn')
conflicts=('openvpn-nordvpn')
source=('openpyn-nordvpn::git+https://github.com/jotyGill/openpyn-nordvpn.git')
md5sums=('SKIP')
pkgver() {
cd openpyn-nordvpn
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/openpyn-nordvpn"
python3 setup.py install --root="${pkgdir}"
}
openpyn-nordvpn-svn
# Maintainer: Ubermensch <francescomarra@protonmail.com>
pkgname=openpyn-nordvpn-svn
pkgver=2.0.1
pkgrel=1
pkgdesc="Easily connect to and switch between, OpenVPN servers hosted by NordVPN. (+patch leakes)"
arch=('x86_64')
url="https://github.com/jotyGill/openpyn-nordvpn"
license=('GPL')
depends=('openvpn' 'python-gobject' 'unzip' 'wget')
makedepends=('python' 'git')
provides=('openvpn-nordvpn')
conflicts=('openvpn-nordvpn')
source=('openpyn-nordvpn::git+https://github.com/jotyGill/openpyn-nordvpn.git#branch=test')
md5sums=('SKIP')
pkgver() {
cd openpyn-nordvpn
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/openpyn-nordvpn"
python3 setup.py install --root="${pkgdir}"
}
Last edited by ^-Ubermensch-^ (2017-12-05 17:10:06)
Offline
If you're not going to maintain them, don't upload them.
Why the hell would you call it -svn then clone from git?
Offline