1# Maintainer: Marco Poletti <poletti.marco@gmail.com> 2pkgname=libfruit 3pkgver=@Fruit_VERSION@ 4pkgrel=0 5pkgdesc="Fruit is a dependency injection framework for C++." 6url="https://github.com/google/fruit" 7arch=('x86_64' 'i686') 8license=('Apache') 9depends=('cmake' 'boost' 'gcc>=5.0.0') 10optdepends=() 11makedepends=() 12conflicts=() 13replaces=() 14backup=() 15install='libfruit.install' 16source=("fruit-${pkgver}.tar.gz") 17md5sums=('d66cc12861e105cc38e5b878776f9f79') 18 19build() { 20 cd "${srcdir}/fruit-${pkgver}" 21 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo . 22 make 23} 24 25package() { 26 cd "${srcdir}/fruit-${pkgver}" 27 make DESTDIR="${pkgdir}" install 28} 29 30# vim:set ts=2 sw=2 et: