aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcmis/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-03-30 15:42:27 +0300
committerTimo Teräs <timo.teras@iki.fi>2016-03-30 15:42:27 +0300
commit0f111409285097dcc78be93c7ffea6cf09757c7c (patch)
treee0a8cfe216f42ed33fc0f6d98030c81dd6236dbd /main/libcmis/APKBUILD
parent5f8a62f0ddcdf4a0bc55323c130fce1dd134bc4a (diff)
downloadaports-0f111409285097dcc78be93c7ffea6cf09757c7c.tar.gz
aports-0f111409285097dcc78be93c7ffea6cf09757c7c.tar.bz2
aports-0f111409285097dcc78be93c7ffea6cf09757c7c.tar.xz
main/libcmis: upgrade to 0.5.1
Diffstat (limited to 'main/libcmis/APKBUILD')
-rw-r--r--main/libcmis/APKBUILD32
1 files changed, 9 insertions, 23 deletions
diff --git a/main/libcmis/APKBUILD b/main/libcmis/APKBUILD
index 8dfe5a9504..c14c013bb0 100644
--- a/main/libcmis/APKBUILD
+++ b/main/libcmis/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libcmis
-pkgver=0.5.0
-pkgrel=4
+pkgver=0.5.1
+pkgrel=0
pkgdesc="CMIS protocol client library"
url="http://sourceforge.net/projects/libcmis/"
arch="all"
@@ -12,24 +12,13 @@ depends_dev="curl-dev libxml2-dev cppunit-dev boost-dev"
makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc cmis-client:client"
-source="http://downloads.sourceforge.net/project/libcmis/libcmis-$pkgver.tar.gz
- libcmis-0.5.0-gcc5.patch
+source="https://github.com/tdf/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
"
-_builddir="$srcdir"/libcmis-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- autoreconf -vif || return 1
-}
+builddir="$srcdir"/libcmis-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -44,7 +33,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
@@ -53,9 +42,6 @@ client() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
-md5sums="5821b806a98e6c38370970e682ce76e8 libcmis-0.5.0.tar.gz
-0f5ea344775175e535c74161f6232bf8 libcmis-0.5.0-gcc5.patch"
-sha256sums="a87e02913dee3ee659db5abf6d7dafcfcd85dd4b24bf4389d8d4afe8c8dcf9b6 libcmis-0.5.0.tar.gz
-c90c3c2a1511e6b8fa123241fc1bafcb91011b558ede175caf1095708769d87e libcmis-0.5.0-gcc5.patch"
-sha512sums="abfdf5654ef8763c9744587ba831acea93cc0ba7deaa8d807eed2e9077be848db0334430f7c2d6eecefeb90f520abbe81364a86790c0aa4363724816aec4793b libcmis-0.5.0.tar.gz
-27c9d7f251cc17669c6ce8e46f50555946997532fbe85ed92a73940d70d3bb6348807ab1a844749590ecb80b2743913e2a4a4ba82351f8061ba8f29495a59d1e libcmis-0.5.0-gcc5.patch"
+md5sums="3270154f0f40d86fce849b161f914101 libcmis-0.5.1.tar.gz"
+sha256sums="6acbdf22ecdbaba37728729b75bfc085ee5a4b49a6024757cfb86ccd3da27b0e libcmis-0.5.1.tar.gz"
+sha512sums="da1e66a7604f90644ad6ee691a5c06df36debec20db361e166ee64c9f8ce85be48623e38367ea2799107c10041ed5f8c3a8011a80d6eaca800c29084fb4fe0f6 libcmis-0.5.1.tar.gz"