Upgrade nextcloud-app-user-external add wget2-git

This commit is contained in:
Travis Burtrum 2019-09-04 21:43:53 -04:00
parent a426bfd31f
commit 37aa7edf88
2 changed files with 50 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: moparisthebest <admin dot archlinux AT moparisthebest dot com>
pkgname=nextcloud-app-user-external
pkgver=0.5.1
pkgver=0.7.0
pkgrel=1
pkgdesc=" External user authentication methods like IMAP, SMB and FTP"
arch=('any')
@ -11,7 +11,7 @@ depends=('nextcloud')
makedepends=()
options=('!strip')
source=("nextcloud-app-user-external-${pkgver}.tar.gz::https://github.com/nextcloud/user_external/releases/download/v${pkgver}/user_external-${pkgver}.tar.gz")
sha256sums=("f2dcc4977a1fd8705767add9f8d41fa56761ad8d5c6c76973e6d216cfb7d7aab")
sha256sums=("f27267e78bd81ac23e7608d4b06a3c5e562c77b29d1fe7ebbca8dcb262eab001")
package() {
install -d "${pkgdir}/usr/share/webapps/nextcloud/apps"

48
src/wget2-git/PKGBUILD Normal file
View File

@ -0,0 +1,48 @@
# Maintainer: Darshit Shah <darnir@gmail.com>
_gitname=wget2
pkgname=${_gitname}-git
pkgver=1.99.2.r1.gfc34771c
pkgrel=1
pkgdesc="Updated version of popular Wget tool"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/wget/wget.html"
license=('GPL3')
depends=('libutil-linux' 'gnutls' 'libidn2' 'libpsl' 'gpgme' 'nghttp2' 'lzip')
checkdepends=('libmicrohttpd')
optdepends=("ca-certificates: HTTPS Downloads")
makedepends=('git' 'rsync' 'gperf' 'python' 'wget')
provides=('wget2')
conflicts=('wget2')
source=("git+https://gitlab.com/gnuwget/wget2.git"
"git://git.savannah.gnu.org/gnulib.git")
md5sums=('SKIP' 'SKIP')
build() {
cd $_gitname
git submodule init
git config submodule.gnulib.url "$srcdir/gnulib"
git submodule update gnulib
./bootstrap
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd $_gitname
make DESTDIR="$pkgdir/" install
}
pkgver() {
cd $_gitname
#Use the tag from the last commit.
# git describe --always --tags --long | sed 's/^v//; s/-/.r/; s/-/./g; s/wget2.//g'
git describe --tags --long | cut -f6- | sed 's/wget2-//g; s/-/.r/; s/-/./g'
}
check() {
cd $_gitname
# make check
}
# vim:set ts=2 sw=2 tw=0 et: