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 | |
parent | 283ba08f62854d50a740b9828c01373efff0f640 (diff) | |
download | archlinuxewe-8020bdd8a37625240a956f82a74ef14fa2c9986b.tar.xz |
jabberd2-git: make naming scheme aur-conform
Diffstat (limited to 'jabberd2-git')
-rw-r--r-- | jabberd2-git/.gitignore | 3 | ||||
-rw-r--r-- | jabberd2-git/PKGBUILD | 16 |
2 files changed, 10 insertions, 9 deletions
diff --git a/jabberd2-git/.gitignore b/jabberd2-git/.gitignore index 34d7ba6ca..de1bb4b1c 100644 --- a/jabberd2-git/.gitignore +++ b/jabberd2-git/.gitignore @@ -1 +1,2 @@ -jabberd2-git +jabberd2 +*.pkg.tar.xz diff --git a/jabberd2-git/PKGBUILD b/jabberd2-git/PKGBUILD index 2e4dc72c3..9ae763928 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 |