[arch-commits] Commit in libircclient/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Oct 4 23:33:56 UTC 2018
Date: Thursday, October 4, 2018 @ 23:33:56
Author: dvzrv
Revision: 389692
archrelease: copy trunk to community-x86_64
Added:
libircclient/repos/community-x86_64/PKGBUILD
(from rev 389691, libircclient/trunk/PKGBUILD)
Deleted:
libircclient/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 52 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-04 23:33:49 UTC (rev 389691)
+++ PKGBUILD 2018-10-04 23:33:56 UTC (rev 389692)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: speps <speps at aur dot archlinux dot org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Marcel Wysocki <maci at satgnu.net>
-# Contributor: coolkehon <coolkehon at g m a i l>
-
-pkgname=libircclient
-pkgver=1.9
-pkgrel=3
-pkgdesc='Small but powerful library, which implements client-server IRC protocol'
-arch=('x86_64')
-url='https://www.ulduzsoft.com/linux/libircclient/'
-license=('GPL')
-depends=('openssl')
-makedepends=('python2-sphinx' 'python2-rst2pdf')
-source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('6f424791fed94ecacdd5d0b2c04472b0ddba09da08a8efb76c115a2a6abedecdf0aab3a86632bdf0fbca78781256fb591d8c94ed8eb776c5f30557d5c426bd1c')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
-
- # fix include dir path
- sed -i "s/@\/include/&\/${pkgname}/" src/Makefile.in
-
- # support openssl 1.1
- sed -e 's|SSL_library_init|OPENSSL_init_ssl|' -i configure.in
- autoreconf -vi
-}
-
-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 -t "${pkgdir}/usr/share/${pkgname}/examples" -Dm644 ../examples/*
-}
Copied: libircclient/repos/community-x86_64/PKGBUILD (from rev 389691, libircclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-04 23:33:56 UTC (rev 389692)
@@ -0,0 +1,52 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Marcel Wysocki <maci at satgnu.net>
+# Contributor: coolkehon <coolkehon at g m a i l>
+
+pkgname=libircclient
+pkgver=1.10
+pkgrel=1
+pkgdesc='Small but powerful library, which implements client-server IRC protocol'
+arch=('x86_64')
+url='https://www.ulduzsoft.com/linux/libircclient/'
+license=('GPL')
+depends=('openssl')
+makedepends=('python2-sphinx' 'python2-rst2pdf')
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('d677ceae0bfabc112671b351fb94d048399a7ad025ff33a2ff1ae6313382fcc78b64d499f2c882eb8b894abdde949562395819e4059fd14640dfae6757b0c259')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # fix include dir path
+ sed -i "s/@\/include/&\/${pkgname}/" src/Makefile.in
+ autoreconf -vi
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --libdir=/usr/lib \
+ --enable-shared \
+ --enable-openssl \
+ --enable-ipv6
+ make -C src
+ make -C doc SPHINXBUILD=sphinx-build2 singlehtml man
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make -C src DESTDIR="${pkgdir}" install
+
+ # docs
+ install -d "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -a doc/_build/singlehtml/* "${pkgdir}/usr/share/doc/${pkgname}"
+ # man
+ install -Dm 644 "doc/_build/man/${pkgname}.1" \
+ -t "${pkgdir}/usr/share/man/man1/"
+ # examples
+ install -Dm 644 examples/* -t "${pkgdir}/usr/share/${pkgname}/examples"
+ # docs
+ install -vDm 644 {Changelog,README,THANKS} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list