Date: Sunday, January 10, 2021 @ 16:59:46 Author: anthraxx Revision: 817171
archrelease: copy trunk to community-x86_64 Added: libstrophe/repos/community-x86_64/PKGBUILD (from rev 817170, libstrophe/trunk/PKGBUILD) Deleted: libstrophe/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 110 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 56 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-10 16:59:41 UTC (rev 817170) +++ PKGBUILD 2021-01-10 16:59:46 UTC (rev 817171) @@ -1,54 +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.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') -makedepends=('openssl' 'expat' 'pkg-config' 'doxygen') -checkdepends=('check') -options=('staticlibs') -source=(https://github.com/strophe/libstrophe/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('fa5a3fd249d9526d0cb07084e18989c74294d47812b2409b244308d068ddaa6ffca6af79422097ec5268a1efc1f620679eb3c9852b17110ca348da49b8f49383') -b2sums=('9623a68ce78f6cdc4848600fffe2590fc482077f46834c62d011454d3354c0fcb744c6a1ddd0fc940834cb9c7026ea52da0fbf1e6a84e415d74eba578270685c') - -prepare() { - cd ${pkgbase}-${pkgver} - cat bootstrap.sh - ./bootstrap.sh -} - -build() { - cd ${pkgbase}-${pkgver} - ./configure --prefix=/usr - make - doxygen -} - -check() { - make -C ${pkgbase}-${pkgver} check -} - -package_libstrophe() { - depends=('openssl' 'expat') - 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)' - 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 817170, libstrophe/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-10 16:59:46 UTC (rev 817171) @@ -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.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: