blob: 2e2643d1813fb0fb59f78d894e07147f79f1e1db (
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
|
# Maintainer: Stephanie Hobbs (RX14) <steph@rx14.co.uk>
pkgname=qtraw-git
pkgver=1.1.r32
pkgrel=1
pkgdesc="Qt image plugin for loading raw files, via libraw"
arch=('x86_64')
url="https://gitlab.com/mardy/qtraw"
license=('GPL3')
depends=("qt5-base" "libraw")
makedepends=('git')
source=("qtraw::git+https://gitlab.com/mardy/qtraw")
sha256sums=('SKIP')
pkgver() {
cd qtraw
local project_version="$(sed -n 's/PROJECT_VERSION = \(.*\)$/\1/ p' common-config.pri)"
printf "%s.r%s" "$project_version" "$(git rev-list --count HEAD)"
}
build() {
cd qtraw
qmake PREFIX="/usr"
make
}
package() {
cd qtraw
make install INSTALL_ROOT="$pkgdir"
rm -Rf "$pkgdir/usr/share/kde4"
}
|