desktop/kamoso/PKGBUILD
2013-10-10 17:43:57 +00:00

41 lines
1.1 KiB
Bash

# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=kamoso
pkgver=2.0.3.3
pkgrel=2
pkgdesc="Kamoso is an application to take pictures and videos out of your webcam."
url="https://projects.kde.org/projects/playground/multimedia/kamoso/"
arch=('x86_64')
license=('GPL')
depends=('kde-runtime' 'qt-gstreamer' 'kdegraphics-libkipi')
makedepends=('cmake' 'git' 'automoc4')
conflicts=('kamoso-git')
categories=('multimedia')
screenshot=('http://kde-apps.org/CONTENT/content-pre1/111750-1.png')
source=("$pkgname-$pkgver.tar.bz2"::"http://quickgit.kde.org/?p=kamoso.git&a=snapshot&h=060845e7e13114fa422e8107687aabac8f70a118&fmt=tbz2")
md5sums=('7ef8a58dcc3a9410787ff9550bcebf88')
# create tarball: source PKGBUILD && mksource
#
#mksource() {
# git clone git://anongit.kde.org/kamoso
# pushd kamoso
# popd
# tar -cvJf kamoso-${pkgver}.tar.xz kamoso/*
# md5sum kamoso-${pkgver}.tar.xz
#}
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
}