blob: 18291894542da1f1534f6a88b4d5bb428eeba244 (
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
|
# Maintainer: Azat Abdullin <abdullin@kspt.icc.spbstu.ru>
pkgname=blocks-phonepi
pkgver=1
pkgrel=4
pkgdesc="Screen block/unblock applications for PhonePi project"
url="https://gitlab.com/PhonePi"
arch=("i686" "x86_64" "armv6h")
license=("GPL2")
makedepends=("git" "cmake")
depends=("qt5-base" "qt5-tools" "qt5-wayland" "qt5-x11extras")
source=('git+https://gitlab.com/PhonePi/Phone')
sha256sums=("SKIP")
build() {
cd "$srcdir/Phone/src/block-apps"
git submodule init
git submodule update
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/Phone/src/block-apps"
make DESTDIR=$pkgdir install
install -Dm600 --owner=$USER "./unblock/config.ini" "$pkgdir/$HOME/.config/unblock-pi"
}
|