blob: e0622ee2f36aaba8b4e9d7b74cbf12c7b5234199 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
_pkgname=kamoso
pkgname=$_pkgname-git
pkgver=r1410.311960b
pkgrel=1
pkgdesc="Kamoso is an application to take pictures and videos out of your webcam. Git version."
url="https://kde.org/applications/en/kamoso"
arch=('i686' 'x86_64')
license=('GPL')
depends=('purpose' 'kirigami2')
makedepends=('cmake' 'git' 'extra-cmake-modules' 'kdoctools')
conflicts=('kamoso')
provides=('kamoso')
source=("$_pkgname::git+https://invent.kde.org/multimedia/kamoso.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir"
mkdir -p build
cd build
cmake "../$_pkgname" -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}
|