blob: ecdea52814840722f4ae4e798ce6d7497f3163b0 (
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
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
pkgname=fluid-git
pkgver=20170321.59b33b6
pkgrel=1
pkgdesc="Components for Qt Quick applications with Material Design and Universal"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url='https://liri.io'
license=('MPL2')
depends=('qt5-quickcontrols2' 'qt5-graphicaleffects' 'qt5-svg')
makedepends=('git' 'qt5-tools')
conflicts=('fluid')
replaces=('fluid')
provides=('fluid')
groups=('liri-git')
_gitroot="git://github.com/lirios/fluid.git"
_gitbranch=develop
_gitname=fluid
source=(${_gitname}::${_gitroot}#branch=${_gitbranch})
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${_gitname}
echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")"
}
prepare() {
mkdir -p build
pushd ${_gitname} >/dev/null
./scripts/fetch_icons.sh
popd >/dev/null
}
build() {
cd build
qmake \
CONFIG+=use_qt_paths \
CONFIG-=create_prl \
../${_gitname}
make
}
package() {
cd build
make INSTALL_ROOT="${pkgdir}" install
}
|