[arch-commits] Commit in libstrophe/repos/community-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Sep 24 20:57:22 UTC 2020
Date: Thursday, September 24, 2020 @ 20:57:22
Author: anthraxx
Revision: 711908
archrelease: copy trunk to community-x86_64
Added:
libstrophe/repos/community-x86_64/PKGBUILD
(from rev 711907, libstrophe/trunk/PKGBUILD)
Deleted:
libstrophe/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 107 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-24 20:57:18 UTC (rev 711907)
+++ PKGBUILD 2020-09-24 20:57:22 UTC (rev 711908)
@@ -1,53 +0,0 @@
-# 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.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:
Copied: libstrophe/repos/community-x86_64/PKGBUILD (from rev 711907, libstrophe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-24 20:57:22 UTC (rev 711908)
@@ -0,0 +1,54 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at 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:
More information about the arch-commits
mailing list