Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
3.0.5-1
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@362276 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
heftig authored and svntogit committed Sep 12, 2019
1 parent 9862b45 commit 805f1fb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions trunk/PKGBUILD
Expand Up @@ -3,37 +3,37 @@
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=libical
pkgver=3.0.4
pkgrel=3
pkgver=3.0.5
pkgrel=1
pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
arch=('x86_64')
url='https://github.com/libical/libical'
license=('LGPL' 'MPL')
depends=('glibc' 'glib2' 'icu' 'db')
makedepends=('cmake' 'ninja')
makedepends=('cmake' 'gtk-doc' 'doxygen' 'vala' 'gobject-introspection')
checkdepends=('python-gobject')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('20f39343701ccd3ad896a9f9e982fdf85c1d3a35572e9d962216b69a64aef2ae')
sha256sums=('483acbf7fee66ca071c2ff8183e46b6f2b3a89e1e866eadf4870eaaa281c8db1')

prepare() {
mkdir build
cd "${pkgname}-${pkgver}"
}

build() {
cd build

cmake ../"${pkgname}-${pkgver}" \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DSHARED_ONLY=true \
cmake -H"${pkgname}-${pkgver}" -Bbuild \
-DCMAKE_BUILD_TYPE=Plain \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib
ninja
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DGOBJECT_INTROSPECTION=true \
-DICAL_GLIB_VAPI=true \
-DSHARED_ONLY=true
cmake --build build
}

check() {
ninja -C build test
cmake --build build --target test
}

package() {
DESTDIR="${pkgdir}" ninja -C build install
DESTDIR="${pkgdir}" cmake --build build --target install
}

0 comments on commit 805f1fb

Please sign in to comment.