From 6680d3065aa29740639b571b539bdde8c9e99fd5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 10 Dec 2018 14:52:11 +0100 Subject: jabberd2-git r1173.85812b6-1 -> r1175.376e632-1 --- jabberd2-git/PKGBUILD | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'jabberd2-git') diff --git a/jabberd2-git/PKGBUILD b/jabberd2-git/PKGBUILD index fdadb1c65..53b3ab769 100644 --- a/jabberd2-git/PKGBUILD +++ b/jabberd2-git/PKGBUILD @@ -8,8 +8,9 @@ pkgname=jabberd2-git _pkgname=jabberd2 -pkgver=r1173.85812b6 -pkgrel=2 +pkgver=r1175.376e632 +_commit=${pkgver#*.} +pkgrel=1 pkgdesc='Scalable, architecturally sound, and extensible XMPP server' arch=('i686' 'x86_64' 'armv6h') url='http://jabberd2.org/' @@ -20,7 +21,7 @@ optdepends=('sqlite3' 'postgresql-libs') makedepends=('sqlite3' 'postgresql-libs' 'autoconf-archive') install=install source=( - "git+https://github.com/${_pkgname}/${_pkgname}.git" + "${pkgname}::git+https://github.com/${_pkgname}/${_pkgname}.git#commit=${_commit}" 'pam_jabberd' ) sha512sums=('SKIP' @@ -39,12 +40,15 @@ backup=( ) pkgver() { - cd "${srcdir}/${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "r%s.%s" "$( + git -C "${srcdir}/${pkgname}" rev-list --count ${_commit} + )" "$( + git -C "${srcdir}/${pkgname}" rev-parse --short ${_commit} + )" } prepare() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}/${pkgname}" libtoolize --force aclocal autoheader @@ -53,7 +57,7 @@ prepare() { } build() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}/${pkgname}" ./configure \ --prefix=/usr \ @@ -69,7 +73,7 @@ build() { } package() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}/${pkgname}" make DESTDIR="${pkgdir}" install -- cgit v1.2.3-70-g09d2