[arch-commits] Commit in libstrophe/repos (4 files)
Levente Polyak
anthraxx at archlinux.org
Fri Mar 3 01:26:20 UTC 2017
Date: Friday, March 3, 2017 @ 01:26:19
Author: anthraxx
Revision: 214599
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
libstrophe/repos/community-staging-i686/
libstrophe/repos/community-staging-i686/PKGBUILD
(from rev 214598, libstrophe/trunk/PKGBUILD)
libstrophe/repos/community-staging-x86_64/
libstrophe/repos/community-staging-x86_64/PKGBUILD
(from rev 214598, libstrophe/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
Copied: libstrophe/repos/community-staging-i686/PKGBUILD (from rev 214598, libstrophe/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-03-03 01:26:19 UTC (rev 214599)
@@ -0,0 +1,52 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgbase=libstrophe
+pkgname=('libstrophe' 'libstrophe-doc')
+pkgver=0.9.1
+pkgrel=2
+epoch=1
+pkgdesc='Simple, lightweight C library for writing XMPP clients'
+url='http://strophe.im/libstrophe/'
+arch=('i686' '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=('4ae0ea7ad21fc566dc5372b1b6ed1dd47da87dadeb5771bb85c51b9119d781b7ec8e2b89d056cbfe81968a7f7db6d93fed435f28d28e552b9e61d5ffdddd4916')
+
+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 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
+}
+
+# vim: ts=2 sw=2 et:
Copied: libstrophe/repos/community-staging-x86_64/PKGBUILD (from rev 214598, libstrophe/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-03-03 01:26:19 UTC (rev 214599)
@@ -0,0 +1,52 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgbase=libstrophe
+pkgname=('libstrophe' 'libstrophe-doc')
+pkgver=0.9.1
+pkgrel=2
+epoch=1
+pkgdesc='Simple, lightweight C library for writing XMPP clients'
+url='http://strophe.im/libstrophe/'
+arch=('i686' '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=('4ae0ea7ad21fc566dc5372b1b6ed1dd47da87dadeb5771bb85c51b9119d781b7ec8e2b89d056cbfe81968a7f7db6d93fed435f28d28e552b9e61d5ffdddd4916')
+
+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 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list