mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
35 lines
895 B
Bash
35 lines
895 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: UtG <utg.chakra.linux[at]gmail[dot]com>
|
|
|
|
pkgname=kamerka
|
|
pkgver=0.8.5
|
|
pkgdesc="take photos using your webcam and shiny animated QML interface."
|
|
pkgrel=2
|
|
arch=(x86_64)
|
|
_kdeapps=142415
|
|
url="http://kde-apps.org/content/show.php?content=${_kdeapps}"
|
|
screenshot="http://kde-apps.org/CONTENT/content-pre1/142415-1.jpg"
|
|
license=(GPL)
|
|
makedepends=('cmake' 'automoc4')
|
|
depends=('kdelibs' 'qt' 'v4l-utils')
|
|
options=()
|
|
source=(http://dosowisko.net/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('92e5a274a9818b504186ce42e7211a7c')
|
|
|
|
build(){
|
|
cd $srcdir/$pkgname-$pkgver
|
|
[[ -d build ]] && rm -r build
|
|
mkdir build && cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo\
|
|
..
|
|
make
|
|
}
|
|
|
|
package(){
|
|
cd ${srcdir}/${pkgname}-${pkgver}/build
|
|
make DESTDIR="${pkgdir}" install
|
|
} |