Date: Saturday, September 17, 2016 @ 23:41:20
  Author: arojas
Revision: 189888

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  libircclient/repos/community-testing-i686/
  libircclient/repos/community-testing-i686/PKGBUILD
    (from rev 189887, libircclient/trunk/PKGBUILD)
  libircclient/repos/community-testing-x86_64/
  libircclient/repos/community-testing-x86_64/PKGBUILD
    (from rev 189887, libircclient/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   55 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   55 ++++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

Copied: libircclient/repos/community-testing-i686/PKGBUILD (from rev 189887, 
libircclient/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2016-09-17 23:41:20 UTC (rev 189888)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:  speps <speps at aur dot archlinux dot org>
+# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
+# Contributor: Marcel Wysocki <m...@satgnu.net>
+# Contributor: coolkehon <coolkehon at g m a i l>
+
+pkgname=libircclient
+pkgver=1.9
+pkgrel=1
+pkgdesc='Small but powerful library, which implements client-server IRC 
protocol'
+arch=('i686' 'x86_64')
+url='http://www.ulduzsoft.com/libircclient/'
+license=('GPL')
+depends=('openssl')
+makedepends=('python2-sphinx' 'python2-rst2pdf') 
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+md5sums=('783c48fe9153ed55a5565c818a178d67')
+
+prepare() {
+  cd $pkgname-$pkgver/src
+
+  # fix include dir path
+  sed -i "s/@\/include/&\/$pkgname/" Makefile.in
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+              --libdir=/usr/lib \
+              --enable-shared \
+              --enable-openssl \
+              --enable-ipv6
+  cd src && make
+
+  cd ../doc
+  make SPHINXBUILD=sphinx-build2 singlehtml man
+}
+
+package() {
+  cd $pkgname-$pkgver/src
+  make DESTDIR="$pkgdir" install
+
+  # docs
+  install -d "$pkgdir/usr/share/doc/$pkgname"
+  cp -a ../doc/_build/singlehtml/* "$pkgdir/usr/share/doc/$pkgname"
+
+  # man
+  install -Dm644 ../doc/_build/man/$pkgname.1 \
+    "$pkgdir/usr/share/man/man1/$pkgname.1"
+
+  # examples
+  install -d "$pkgdir/usr/share/$pkgname/examples"
+  install -Dm644 ../examples/* \
+    "$pkgdir"/usr/share/$pkgname/examples
+}

Copied: libircclient/repos/community-testing-x86_64/PKGBUILD (from rev 189887, 
libircclient/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-09-17 23:41:20 UTC (rev 189888)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:  speps <speps at aur dot archlinux dot org>
+# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
+# Contributor: Marcel Wysocki <m...@satgnu.net>
+# Contributor: coolkehon <coolkehon at g m a i l>
+
+pkgname=libircclient
+pkgver=1.9
+pkgrel=1
+pkgdesc='Small but powerful library, which implements client-server IRC 
protocol'
+arch=('i686' 'x86_64')
+url='http://www.ulduzsoft.com/libircclient/'
+license=('GPL')
+depends=('openssl')
+makedepends=('python2-sphinx' 'python2-rst2pdf') 
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+md5sums=('783c48fe9153ed55a5565c818a178d67')
+
+prepare() {
+  cd $pkgname-$pkgver/src
+
+  # fix include dir path
+  sed -i "s/@\/include/&\/$pkgname/" Makefile.in
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+              --libdir=/usr/lib \
+              --enable-shared \
+              --enable-openssl \
+              --enable-ipv6
+  cd src && make
+
+  cd ../doc
+  make SPHINXBUILD=sphinx-build2 singlehtml man
+}
+
+package() {
+  cd $pkgname-$pkgver/src
+  make DESTDIR="$pkgdir" install
+
+  # docs
+  install -d "$pkgdir/usr/share/doc/$pkgname"
+  cp -a ../doc/_build/singlehtml/* "$pkgdir/usr/share/doc/$pkgname"
+
+  # man
+  install -Dm644 ../doc/_build/man/$pkgname.1 \
+    "$pkgdir/usr/share/man/man1/$pkgname.1"
+
+  # examples
+  install -d "$pkgdir/usr/share/$pkgname/examples"
+  install -Dm644 ../examples/* \
+    "$pkgdir"/usr/share/$pkgname/examples
+}

Reply via email to