mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
35 lines
853 B
Bash
35 lines
853 B
Bash
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkdcraw
|
||
|
# Include global configuration
|
||
|
source ../kdeapps.conf
|
||
|
|
||
|
pkgname=kamera
|
||
|
pkgver=${_kdever}
|
||
|
pkgrel=1
|
||
|
pkgdesc="KDE integration for gphoto2 cameras"
|
||
|
url="http://kde.org/applications/graphics/kamera/"
|
||
|
arch=(x86_64)
|
||
|
license=(GPL LGPL FDL)
|
||
|
groups=(kde kde-applications kdegraphics kde-uninstall)
|
||
|
depends=(kio libgphoto2)
|
||
|
makedepends=(extra-cmake-modules kdoctools)
|
||
|
conflicts=(kdegraphics-kamera)
|
||
|
replaces=(kdegraphics-kamera)
|
||
|
options=('docs' 'debug')
|
||
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
||
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake_kf5 ../${pkgname}-${pkgver}
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|