Date: Saturday, June 11, 2022 @ 07:28:54 Author: arojas Revision: 1232083
archrelease: copy trunk to community-x86_64 Added: libstrophe/repos/community-x86_64/PKGBUILD (from rev 1232082, libstrophe/trunk/PKGBUILD) Deleted: libstrophe/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 112 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-11 07:28:36 UTC (rev 1232082) +++ PKGBUILD 2022-06-11 07:28:54 UTC (rev 1232083) @@ -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.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: Copied: libstrophe/repos/community-x86_64/PKGBUILD (from rev 1232082, libstrophe/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-11 07:28:54 UTC (rev 1232083) @@ -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.12.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=('5823123d1a7b4f8db71352fe8ba53876ba91e579b7030814ad705d263011132e734282903bacef8feec8f411637f27bbff28e059c2a54a18bf0a91d5bebee36e') +b2sums=('12e17519a5214fc0c592de4631fe350a737d79cdd142888952ec277538fad1eecf760c3938b347edf92d2829f1ada5e2a36e875f72502f3ea2e6e073bb222925') + +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: