blob: 9f502a759928fc720d6e065fece90e4a40f3ed7b (
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
|
# Maintainer: Zanny <lordzanny@gmail.com>
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kcodecs-git
_name=${pkgname%-git}
pkgver=v5.71.0.rc1.r6.g982b8e6
pkgrel=1
pkgdesc='Plugins allowing Qt applications to access further types of images'
arch=(x86_64)
url='https://projects.kde.org/projects/frameworks/kcodecs'
license=(LGPL)
depends=(qt5-base)
makedepends=(extra-cmake-modules gperf git qt5-tools)
groups=(kf5)
conflicts=(kcodecs)
provides=(kcodecs)
source=("git+https://invent.kde.org/frameworks/$_name.git")
md5sums=('SKIP')
pkgver() {
cd $_name
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake -B build -S $_name
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|