summaryrefslogtreecommitdiff
path: root/jabberd2-git
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-12-10 14:52:11 +0100
committerErich Eckner <git@eckner.net>2018-12-10 14:52:11 +0100
commit6680d3065aa29740639b571b539bdde8c9e99fd5 (patch)
tree1c024b4fb3c1f5eb5d59caaf78adaf8102c750c4 /jabberd2-git
parenta0f80575fb1af0d8314f73d9e0b54829cc9fe568 (diff)
downloadarchlinuxewe.git.save-6680d3065aa29740639b571b539bdde8c9e99fd5.tar.xz
jabberd2-git r1173.85812b6-1 -> r1175.376e632-1
Diffstat (limited to 'jabberd2-git')
-rw-r--r--jabberd2-git/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/jabberd2-git/PKGBUILD b/jabberd2-git/PKGBUILD
index fdadb1c6..53b3ab76 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