[arch-commits] Commit in libmesode/repos (4 files)
Levente Polyak
anthraxx at archlinux.org
Wed Oct 12 23:44:33 UTC 2016
Date: Wednesday, October 12, 2016 @ 23:44:32
Author: anthraxx
Revision: 192102
archrelease: copy trunk to community-i686, community-x86_64
Added:
libmesode/repos/community-i686/
libmesode/repos/community-i686/PKGBUILD
(from rev 192101, libmesode/trunk/PKGBUILD)
libmesode/repos/community-x86_64/
libmesode/repos/community-x86_64/PKGBUILD
(from rev 192101, libmesode/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
Copied: libmesode/repos/community-i686/PKGBUILD (from rev 192101, libmesode/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-12 23:44:32 UTC (rev 192102)
@@ -0,0 +1,50 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=libmesode
+pkgname=('libmesode' 'libmesode-doc')
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='Simple, lightweight C library for writing prifanity XMPP client'
+url='https://github.com/boothj5/libmesode'
+arch=('i686' 'x86_64')
+license=('GPL3' 'MIT')
+makedepends=('openssl' 'expat' 'doxygen')
+checkdepends=('check')
+options=('staticlibs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/boothj5/libmesode/archive/${pkgver}.tar.gz)
+sha512sums=('b549c17e61aa3e1d80a93783ac47d5a9e87767876173500c30613e9326d10ed413f284c7435b4f24c028a51f8a8d9be913cd7de9baaa5b358cac5951496d9076')
+
+prepare() {
+ cd ${pkgbase}-${pkgver}
+ ./bootstrap.sh
+}
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ ./configure --prefix=/usr
+ make
+ doxygen
+}
+
+check() {
+ make -C ${pkgbase}-${pkgver} check
+}
+
+package_libmesode() {
+ depends=('openssl' 'expat')
+ cd ${pkgbase}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 MIT-LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
+}
+
+package_libmesode-doc() {
+ pkgdesc+=' (documentation and samples)'
+ options=('!strip')
+ optdepends=('libmesode')
+ 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: libmesode/repos/community-x86_64/PKGBUILD (from rev 192101, libmesode/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-10-12 23:44:32 UTC (rev 192102)
@@ -0,0 +1,50 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=libmesode
+pkgname=('libmesode' 'libmesode-doc')
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='Simple, lightweight C library for writing prifanity XMPP client'
+url='https://github.com/boothj5/libmesode'
+arch=('i686' 'x86_64')
+license=('GPL3' 'MIT')
+makedepends=('openssl' 'expat' 'doxygen')
+checkdepends=('check')
+options=('staticlibs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/boothj5/libmesode/archive/${pkgver}.tar.gz)
+sha512sums=('b549c17e61aa3e1d80a93783ac47d5a9e87767876173500c30613e9326d10ed413f284c7435b4f24c028a51f8a8d9be913cd7de9baaa5b358cac5951496d9076')
+
+prepare() {
+ cd ${pkgbase}-${pkgver}
+ ./bootstrap.sh
+}
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ ./configure --prefix=/usr
+ make
+ doxygen
+}
+
+check() {
+ make -C ${pkgbase}-${pkgver} check
+}
+
+package_libmesode() {
+ depends=('openssl' 'expat')
+ cd ${pkgbase}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 MIT-LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
+}
+
+package_libmesode-doc() {
+ pkgdesc+=' (documentation and samples)'
+ options=('!strip')
+ optdepends=('libmesode')
+ 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