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

Jan de Groot jgc at archlinux.org
Wed Nov 22 09:46:16 UTC 2017


    Date: Wednesday, November 22, 2017 @ 09:46:15
  Author: jgc
Revision: 310538

archrelease: copy trunk to staging-x86_64

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

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

Copied: libical/repos/staging-x86_64/PKGBUILD (from rev 310537, libical/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-11-22 09:46:15 UTC (rev 310538)
@@ -0,0 +1,35 @@
+# 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.1
+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' 'gobject-introspection')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('6405964d596aac64fc82c03c4486387fd6a9c09b1f7af1ff251238e66b9e66e1')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+
+  cmake ../"${pkgname}-${pkgver}" \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DSHARED_ONLY=true \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list