Date: Monday, March 17, 2014 @ 13:50:07 Author: bpiotrowski Revision: 107463
archrelease: copy trunk to community-i686, community-x86_64 Added: libstrophe/repos/community-i686/ libstrophe/repos/community-i686/PKGBUILD (from rev 107462, libstrophe/trunk/PKGBUILD) libstrophe/repos/community-x86_64/ libstrophe/repos/community-x86_64/PKGBUILD (from rev 107462, libstrophe/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) Copied: libstrophe/repos/community-i686/PKGBUILD (from rev 107462, libstrophe/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-03-17 12:50:07 UTC (rev 107463) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> + +pkgname=libstrophe +pkgver=20131107 +pkgrel=1 +pkgdesc='Simple, lightweight C library for writing XMPP clients' +arch=('i686' 'x86_64') +url='http://strophe.im/libstrophe/' +license=('MIT' 'GPL3') +makedepends=('git' 'doxygen' 'expat') +checkdepends=('check') +options=('staticlibs') +source=(git://github.com/strophe/libstrophe.git#commit=d408eaf) +md5sums=('SKIP') + +pkgver() { + cd $pkgname + git log -1 --format="%cd" --date=short | tr -d '-' +} + +prepare() { + cd $pkgname + ./bootstrap.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr + make + doxygen +} + +check() { + make -C $pkgname check +} + +package() { + make -C $pkgname DESTDIR="$pkgdir" install +} Copied: libstrophe/repos/community-x86_64/PKGBUILD (from rev 107462, libstrophe/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-03-17 12:50:07 UTC (rev 107463) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> + +pkgname=libstrophe +pkgver=20131107 +pkgrel=1 +pkgdesc='Simple, lightweight C library for writing XMPP clients' +arch=('i686' 'x86_64') +url='http://strophe.im/libstrophe/' +license=('MIT' 'GPL3') +makedepends=('git' 'doxygen' 'expat') +checkdepends=('check') +options=('staticlibs') +source=(git://github.com/strophe/libstrophe.git#commit=d408eaf) +md5sums=('SKIP') + +pkgver() { + cd $pkgname + git log -1 --format="%cd" --date=short | tr -d '-' +} + +prepare() { + cd $pkgname + ./bootstrap.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr + make + doxygen +} + +check() { + make -C $pkgname check +} + +package() { + make -C $pkgname DESTDIR="$pkgdir" install +}