diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-18 03:30:21 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-18 03:30:21 +0000 |
commit | bb37a4ecb6bee92615f1312d9907129490105052 (patch) | |
tree | 2cf401f22a5a0bdc6f5acf0e98101ac83e5b32f4 /community/libstrophe/PKGBUILD | |
parent | d8fdc79f0eff1e0a0c630ec38a5792640c0f8311 (diff) |
Tue Mar 18 03:26:07 UTC 2014
Diffstat (limited to 'community/libstrophe/PKGBUILD')
-rw-r--r-- | community/libstrophe/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/libstrophe/PKGBUILD b/community/libstrophe/PKGBUILD new file mode 100644 index 000000000..d2231886e --- /dev/null +++ b/community/libstrophe/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 107463 2014-03-17 12:50:07Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@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 +} |