[arch-commits] Commit in libical/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Aug 6 16:27:24 UTC 2018


    Date: Monday, August 6, 2018 @ 16:27:24
  Author: felixonmars
Revision: 331002

archrelease: copy trunk to staging-x86_64

Added:
  libical/repos/staging-x86_64/
  libical/repos/staging-x86_64/PKGBUILD
    (from rev 331001, libical/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: libical/repos/staging-x86_64/PKGBUILD (from rev 331001, libical/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-08-06 16:27:24 UTC (rev 331002)
@@ -0,0 +1,39 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=libical
+pkgver=3.0.3
+pkgrel=3
+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')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('ef9f64540332c2aeb57f299a73c3b0de136f733ae61a281f449013159da94e7c')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+
+  cmake ../"${pkgname}-${pkgver}" \
+    -G Ninja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DSHARED_ONLY=true \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib
+  ninja
+}
+
+check() {
+  ninja -C build test
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+}



More information about the arch-commits mailing list