[arch-commits] Commit in libstrophe/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu Aug 14 07:46:47 UTC 2014
Date: Thursday, August 14, 2014 @ 09:46:47
Author: bpiotrowski
Revision: 117386
upgpkg: libstrophe 1:0.8.6-1
new upstream release
Modified:
libstrophe/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-08-14 07:28:04 UTC (rev 117385)
+++ PKGBUILD 2014-08-14 07:46:47 UTC (rev 117386)
@@ -2,30 +2,26 @@
# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
pkgname=libstrophe
-pkgver=20131107
+pkgver=0.8.6
pkgrel=1
+epoch=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')
+depends=('openssl' 'expat')
+makedepends=('git' 'doxygen')
checkdepends=('check')
-options=('staticlibs')
-source=(git://github.com/strophe/libstrophe.git#commit=d408eaf)
-md5sums=('SKIP')
+source=(https://github.com/strophe/libstrophe/archive/$pkgver.tar.gz)
+md5sums=('5ab28dc86c47177819ca49ed9c0041e0')
-pkgver() {
- cd $pkgname
- git log -1 --format="%cd" --date=short | tr -d '-'
-}
-
prepare() {
- cd $pkgname
+ cd $pkgname-$pkgver
./bootstrap.sh
}
build() {
- cd $pkgname
+ cd $pkgname-$pkgver
./configure --prefix=/usr
make
doxygen
@@ -32,9 +28,11 @@
}
check() {
- make -C $pkgname check
+ make -C $pkgname-$pkgver check
}
package() {
- make -C $pkgname DESTDIR="$pkgdir" install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 MIT-LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-MIT
}
More information about the arch-commits
mailing list