Date: Monday, November 11, 2019 @ 23:05:30 Author: anthraxx Revision: 526855
archrelease: copy trunk to community-x86_64 Added: libstrophe/repos/community-x86_64/PKGBUILD (from rev 526854, libstrophe/trunk/PKGBUILD) Deleted: libstrophe/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 105 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 53 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-11 23:05:25 UTC (rev 526854) +++ PKGBUILD 2019-11-11 23:05:30 UTC (rev 526855) @@ -1,52 +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.9.2 -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=(${pkgname}-${pkgver}.tar.gz::https://github.com/strophe/libstrophe/archive/${pkgver}.tar.gz) -sha512sums=('d55700a71c4f667e9ca24cf3dbbc43a709d2e8f985d68bbf26065800bfbfdff303f73ae1c0848111b1710a85041424818de3c2c6b519e21f28422167e115a257') - -prepare() { - cd ${pkgbase}-${pkgver} - ./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 526854, libstrophe/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-11 23:05:30 UTC (rev 526855) @@ -0,0 +1,53 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> + +pkgbase=libstrophe +pkgname=('libstrophe' 'libstrophe-doc') +pkgver=0.9.3 +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=('8f3a886e96ff327cb6c45940aaaa9509d4c01c6b306b30ed25941da33a99d0fde568769b30567e8442fe86c41eb28c226d14bff53a57da5f6fb4a34f4484b0f9') + +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: