blob: 282714c2cc926fd320f3d9b3e46452e8bcb6cf6a (
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
|
# Contributer: Donald Carr <sirspudd@gmail.com>
set -e
_pi_ver=2
pkgname="pi-compositor"
pkgver=0.0.2
pkgrel=1
provides=("pi-launcher")
conflicts=("pi-launcher")
replaces=("pi-launcher")
pkgdesc="Rudimentary QML compositor branched off qtwayland/examples/wayland/qml-compositor "
arch=("any")
url="http://www.qt.io"
license=("LGPL3" "GPL3")
makedepends=("qt-sdk-raspberry-pi${_pi_ver}")
depends=("qt-sdk-raspberry-pi-target-libs")
source=("git://github.com/sirspudd/${pkgname}.git")
sha256sums=("SKIP")
options=('!strip')
build() {
local repo_src=${srcdir}/${pkgname}
local qmake=/opt/qt-sdk-raspberry-pi${_pi_ver}/bin/qmake
cd ${repo_src}
$qmake
make
}
package() {
local repo_src=${srcdir}/${pkgname}
local deploy_path=${pkgdir}/opt/pi-compositor
local systemd_deploy_path=${pkgdir}/usr/lib/systemd/system
mkdir -p $deploy_path
mkdir -p $systemd_deploy_path
cp ${repo_src}/${pkgname} ${deploy_path}
cp ${startdir}/*.service ${systemd_deploy_path}
}
|