core/libical/PKGBUILD

34 lines
754 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=libical
2017-12-30 05:47:59 +08:00
pkgver=3.0.1
2018-01-19 07:35:30 +08:00
pkgrel=2
2017-12-30 05:47:59 +08:00
pkgdesc="An open source reference implementation of the icalendar data type and
serialization format"
arch=('x86_64')
url='https://github.com/libical/libical'
2010-03-14 23:48:48 +08:00
license=('LGPL' 'MPL')
2017-12-30 05:47:59 +08:00
depends=('glibc' 'glib2' 'icu' 'db')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('6405964d596aac64fc82c03c4486387fd6a9c09b1f7af1ff251238e66b9e66e1')
2010-03-14 23:48:48 +08:00
2017-12-30 05:47:59 +08:00
prepare() {
mkdir build
}
2017-12-30 05:47:59 +08:00
build() {
cd build
2017-12-30 05:47:59 +08:00
cmake ../"${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DSHARED_ONLY=true \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib
make
2010-03-14 23:48:48 +08:00
}
package() {
2017-12-30 05:47:59 +08:00
cd build
make DESTDIR="${pkgdir}" install
}