diff options
author | Erich Eckner <git@eckner.net> | 2019-03-20 15:17:25 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-03-20 15:17:25 +0100 |
commit | 8020bdd8a37625240a956f82a74ef14fa2c9986b (patch) | |
tree | 270c0a4f289193ef2e6f5319c66b4ba2ea8551ad /jabberd2-git/PKGBUILD | |
parent | 283ba08f62854d50a740b9828c01373efff0f640 (diff) | |
download | archlinuxewe.git.save-8020bdd8a37625240a956f82a74ef14fa2c9986b.tar.xz |
jabberd2-git: make naming scheme aur-conform
Diffstat (limited to 'jabberd2-git/PKGBUILD')
-rw-r--r-- | jabberd2-git/PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/jabberd2-git/PKGBUILD b/jabberd2-git/PKGBUILD index 2e4dc72c..9ae76392 100644 --- a/jabberd2-git/PKGBUILD +++ b/jabberd2-git/PKGBUILD @@ -6,8 +6,8 @@ # Contributor: sxw <sxw@chronowerks.de> # Maintainer: Erich Eckner <arch at eckner dot net> -pkgname=jabberd2-git -_pkgname=jabberd2 +pkgbase=jabberd2 +pkgname=(jabberd2-git) pkgver=r1175.376e632 _commit=${pkgver#*.} pkgrel='7' @@ -21,7 +21,7 @@ optdepends=('sqlite3' 'postgresql-libs') makedepends=('sqlite3' 'postgresql-libs' 'autoconf-archive') install=install source=( - "${pkgname}::git+https://github.com/${_pkgname}/${_pkgname}.git#commit=${_commit}" + "${pkgbase}::git+https://github.com/${pkgbase}/${pkgbase}.git#commit=${_commit}" 'pam_jabberd' ) sha512sums=('SKIP' @@ -41,14 +41,14 @@ backup=( pkgver() { printf "r%s.%s" "$( - git -C "${srcdir}/${pkgname}" rev-list --count ${_commit} + git -C "${srcdir}/${pkgbase}" rev-list --count ${_commit} )" "$( - git -C "${srcdir}/${pkgname}" rev-parse --short ${_commit} + git -C "${srcdir}/${pkgbase}" rev-parse --short ${_commit} )" } prepare() { - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgbase}" libtoolize --force aclocal autoheader @@ -57,7 +57,7 @@ prepare() { } build() { - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgbase}" ./configure \ --prefix=/usr \ @@ -74,7 +74,7 @@ build() { } package() { - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgbase}" make DESTDIR="${pkgdir}" install |