From a91d694c61e23591f49de1c8e24ca4f4237f6caf Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 5 May 2015 17:23:35 -0500 Subject: irssi-otr-git-1:1.0.0.221.4ad3b7b-1: updating version --- pcr/irssi-otr-git/PKGBUILD | 62 ++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 32 deletions(-) diff --git a/pcr/irssi-otr-git/PKGBUILD b/pcr/irssi-otr-git/PKGBUILD index 54c8a2336..c050e0a64 100644 --- a/pcr/irssi-otr-git/PKGBUILD +++ b/pcr/irssi-otr-git/PKGBUILD @@ -1,43 +1,41 @@ +# Contributor (Arch) : Levente Polyak +# Contributor (Arch) : Christian Babeux # Contributor (Arch) : quantax -- contact via Arch Linux forum or AUR # Contributor (Arch) : Federico Cinelli # Maintainer (Parabola) : Aurélien DESBRIÈRES pkgname=irssi-otr-git -pkgver=20090814 +pkgver=1.0.0.221.4ad3b7b pkgrel=1 -pkgdesc="Off-the-Record Messaging (OTR) for the Irssi IRC client." -arch=('i686' 'x86_64' 'mips64el') -url="http://irssi-otr.tuxfamily.org/" -license=('GPL') -depends=(irssi libotr git) -makedepends=(cmake pkgconfig python) -conflicts=(irssi-otr) -provides=(irssi-otr) -source=('git://git.tuxfamily.org/gitroot/irssiotr/irssiotr.git') - -_gitroot="git://git.tuxfamily.org/gitroot/irssiotr/irssiotr.git" -_gitname="irssiotr" +epoch=1 +pkgdesc="Off-the-Record Messaging (OTR) for the Irssi IRC client" +url="https://github.com/cryptodotis/irssi-otr" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('irssi' 'libotr' 'glib2') +makedepends=('git') +provides=('irssi-otr') +conflicts=('irssi-otr') +replaces=('irssi-otr4-git') +source=(${pkgname}::git+https://github.com/cryptodotis/irssi-otr.git) +sha512sums=('SKIP') + +pkgver() { + cd ${pkgname} + printf "%s.%s.%s" "$(git describe --tags --abbrev=0|sed 's/^v//')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [ -d "$_gitname" ] ; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" - fi - - msg "GIT checkout done or server timeout" - msg "Starting make..." - - rm -rf "$srcdir/$_gitname-build" - cp -r "$srcdir/$_gitname" "${srcdir}/${_gitname}-build" - cd "$srcdir/$_gitname-build" + cd ${pkgname} + ./bootstrap + ./configure --prefix=/usr + make +} - cmake -DCMAKE_INSTALL_PREFIX=/usr . - cp -f LICENSE README irssi - make && make DESTDIR="$pkgdir/" install +package() { + cd ${pkgname} + make DESTDIR="${pkgdir}" install + install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README" } +# vim: ts=2 sw=2 et: -- cgit v1.2.3