diff options
-rw-r--r-- | abs/extra/libical/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/libical/PKGBUILD b/abs/extra/libical/PKGBUILD new file mode 100644 index 0000000..ef24bd1 --- /dev/null +++ b/abs/extra/libical/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=libical +pkgver=1.0 +pkgrel=3 +pkgdesc="An open source reference implementation of the icalendar data type and serialization format" +arch=('i686' 'x86_64') +url='http://sourceforge.net/projects/freeassociation/' +license=('LGPL' 'MPL') +depends=('glibc') +makedepends=('cmake') +source=("http://downloads.sourceforge.net/freeassociation/${pkgname}-${pkgver}.tar.gz") +md5sums=('4438c31d00ec434f02867a267a92f8a1') + +prepare() { + mkdir build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} |