diff options
Diffstat (limited to 'main/libical')
-rw-r--r-- | main/libical/APKBUILD | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/main/libical/APKBUILD b/main/libical/APKBUILD index 38c2d87bfc..9cb26b9070 100644 --- a/main/libical/APKBUILD +++ b/main/libical/APKBUILD @@ -1,15 +1,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libical -pkgver=1.0 +pkgver=1.0.1 pkgrel=0 pkgdesc="An open source reference implementation of the icalendar data type and serialization format" url="http://sourceforge.net/projects/freeassociation/" arch="all" license="LGPL MPL" depends= -makedepends="perl autoconf automake libtool" +makedepends="perl cmake" subpackages="$pkgname-dev" -source="http://downloads.sourceforge.net/freeassociation/$pkgname-$pkgver.tar.gz automake.patch" +source="https://github.com/libical/libical/releases/download/v1.0.1/libical-$pkgver.tar.gz" prepare() { cd "$srcdir"/$pkgname-$pkgver @@ -22,31 +22,22 @@ prepare() { ;; esac done - aclocal && autoheader && autoconf && automake -a || return 1 - libtoolize --force } build() { cd "$srcdir"/$pkgname-$pkgver - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --enable-shared \ - --disable-static \ + cmake -DCMAKE_RELEASE_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSHARED_ONLY=true \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver - make -j1 DESTDIR="$pkgdir" install - rm "$pkgdir"/usr/lib/*.la + make DESTDIR="$pkgdir" install } -md5sums="4438c31d00ec434f02867a267a92f8a1 libical-1.0.tar.gz -79a2ea148f8c6b2a2337ecff296287cb automake.patch" -sha256sums="7c39b3448e4927a2de2775d853f52b3aaeb42400970a3db0b01a78987e6ec0b7 libical-1.0.tar.gz -414fc45f07e7723286459a6577e3bf9a80554140aadf3f8534b79edcc457c121 automake.patch" -sha512sums="4764b08c9a57e867884aae4eb9b9dce53df7abebbbde7190caf4d62bdb223eed57945ac8233029b1d253afc173437363264ce8f75ccbfb2af0bb64dafdd3cec4 libical-1.0.tar.gz -5caca70f2c52647a31c51b844462efd0ca7d6de59bf6d3a8bf03f76f944d2602f12743b6e2c90498970c372c10619410a0a323e13cbdd97be9dce54136236a17 automake.patch" +md5sums="d26a58149aaae9915fa79fb35c8de6fc libical-1.0.1.tar.gz" +sha256sums="089ce3c42d97fbd7a5d4b3c70adbdd82115dd306349c1f5c46a8fb3f8c949592 libical-1.0.1.tar.gz" +sha512sums="dfdd9b9b3c01aa9ce40ae38fe3c7339eae33e48f60f86bd627e0dbe9c8270b95fb15c0ff0684a22d6e9be163b41d4c87ff0f7a49adcd0baac127d16c8c21d020 libical-1.0.1.tar.gz" |