summaryrefslogtreecommitdiff
path: root/pcr/irssi-otr-git
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-05 17:23:35 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-05 17:23:35 -0500
commita91d694c61e23591f49de1c8e24ca4f4237f6caf (patch)
treeaff6084a1484076a1ef6f4b2098504022cab9ecf /pcr/irssi-otr-git
parentb912ecbb358c92ee504d033e1cfe84d412e80ed4 (diff)
downloadabslibre-a91d694c61e23591f49de1c8e24ca4f4237f6caf.tar.gz
abslibre-a91d694c61e23591f49de1c8e24ca4f4237f6caf.tar.bz2
abslibre-a91d694c61e23591f49de1c8e24ca4f4237f6caf.zip
irssi-otr-git-1:1.0.0.221.4ad3b7b-1: updating version
Diffstat (limited to 'pcr/irssi-otr-git')
-rw-r--r--pcr/irssi-otr-git/PKGBUILD62
1 files 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 <levente[at]leventepolyak[dot]net>
+# Contributor (Arch) : Christian Babeux <christian.babeux@0x80.ca>
# Contributor (Arch) : quantax -- contact via Arch Linux forum or AUR
# Contributor (Arch) : Federico Cinelli <cinelli.federico@gmail.com>
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
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: