Date: Saturday, October 30, 2021 @ 07:30:57 Author: arojas Revision: 1034940
archrelease: copy trunk to community-x86_64 Added: libstrophe/repos/community-x86_64/PKGBUILD (from rev 1034939, libstrophe/trunk/PKGBUILD) Deleted: libstrophe/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 112 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-30 07:30:48 UTC (rev 1034939) +++ PKGBUILD 2021-10-30 07:30:57 UTC (rev 1034940) @@ -1,56 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> - -pkgbase=libstrophe -pkgname=('libstrophe' 'libstrophe-doc') -pkgver=0.10.1 -pkgrel=1 -epoch=1 -pkgdesc='Simple, lightweight C library for writing XMPP clients' -url='http://strophe.im/libstrophe/' -arch=('x86_64') -license=('GPL3' 'MIT') -depends=('glibc' 'openssl' 'expat') -makedepends=('doxygen') -checkdepends=('check') -source=(https://github.com/strophe/libstrophe/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('ed68789109ecc05122fec460b92ab360a061b786406d9afa26f83bbf062322e9523700753523ffaa994c02b282d3194fbe6e43b31aadb50a12d1bb0339b2ba5a') -b2sums=('adf04c43ffeb5b1f79e724f9f5e2ba9e049cf5975632bb64f131f21c66881d82de8591801502ad40eb8e5ee6666ae481a6d154e6c2625437f312202ba7ea10ae') - -prepare() { - cd ${pkgbase}-${pkgver} - autoreconf -fiv -} - -build() { - cd ${pkgbase}-${pkgver} - ./configure \ - --prefix=/usr - make - doxygen -} - -check() { - make -C ${pkgbase}-${pkgver} check -} - -package_libstrophe() { - depends+=('libexpat.so') - provides=('libstrophe.so') - cd ${pkgbase}-${pkgver} - make DESTDIR="${pkgdir}" install - install -Dm 644 MIT-LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT" -} - -package_libstrophe-doc() { - pkgdesc+=' (documentation and samples)' - depends=() - options=('!strip') - optdepends=('libstrophe') - cd ${pkgbase}-${pkgver} - install -Dm 644 docs/html/* -t "${pkgdir}/usr/share/doc/${pkgname}/html" - install -Dm 644 examples/{README.md,*.c} -t "${pkgdir}/usr/share/doc/${pkgname}/examples" - install -Dm 644 MIT-LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: libstrophe/repos/community-x86_64/PKGBUILD (from rev 1034939, libstrophe/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-30 07:30:57 UTC (rev 1034940) @@ -0,0 +1,56 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> + +pkgbase=libstrophe +pkgname=('libstrophe' 'libstrophe-doc') +pkgver=0.11.0 +pkgrel=1 +epoch=1 +pkgdesc='Simple, lightweight C library for writing XMPP clients' +url='http://strophe.im/libstrophe/' +arch=('x86_64') +license=('GPL3' 'MIT') +depends=('glibc' 'openssl' 'expat') +makedepends=('doxygen') +checkdepends=('check') +source=(https://github.com/strophe/libstrophe/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('3e2be97405d4f41f8bbd7f30bac1c2e7ec426f7ea3ac662646192ba298e3e791e8c6ad336ba2b647cb65e8bce2e2063343004652a1f1f6cbf9958d84b262c1c3') +b2sums=('97ff14194d82d8072339852471c60d29ba8d9ce7b25c6848c503e86d3f5bb6b5eb70a8914541adc2e331f4183f961842fd40bc274bf2c8f568e57fa54b8543f6') + +prepare() { + cd ${pkgbase}-${pkgver} + autoreconf -fiv +} + +build() { + cd ${pkgbase}-${pkgver} + ./configure \ + --prefix=/usr + make + doxygen +} + +check() { + make -C ${pkgbase}-${pkgver} check +} + +package_libstrophe() { + depends+=('libexpat.so') + provides=('libstrophe.so') + cd ${pkgbase}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm 644 MIT-LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT" +} + +package_libstrophe-doc() { + pkgdesc+=' (documentation and samples)' + depends=() + options=('!strip') + optdepends=('libstrophe') + cd ${pkgbase}-${pkgver} + install -Dm 644 docs/html/* -t "${pkgdir}/usr/share/doc/${pkgname}/html" + install -Dm 644 examples/{README.md,*.c} -t "${pkgdir}/usr/share/doc/${pkgname}/examples" + install -Dm 644 MIT-LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim: ts=2 sw=2 et: