desktop/kamoso/PKGBUILD

34 lines
932 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor: alex@eyeos.org, aleixpol@kde.org
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kamoso
pkgver=2.0.3
pkgrel=1
pkgdesc="Kamoso is an application to take pictures and videos out of your webcam."
url="https://projects.kde.org/projects/playground/multimedia/kamoso/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('kde-workspace' 'qtgstreamer-git' 'kipi-plugins')
makedepends=('cmake' 'git' 'automoc4')
conflicts=('kamoso-git')
categories=('multimedia')
source=("http://www.chakra-linux.org/sources/$pkgname/$pkgname-$pkgver.tar.xz")
md5sums=('bb4beeb2326857f5492ff4fb68ea15a3')
build() {
cd "$srcdir/$pkgname"
cmake ${srcdir}/$pkgname \
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
-DCMAKE_BUILD_TYPE=Release
make
}
package(){
cd "${srcdir}/$pkgname"
make DESTDIR="$pkgdir" install
}