summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 67879999064937b162aae6c47a9ef14cdaa5e392 (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
pkgname=settings-phonepi
pkgver=1
pkgrel=3
pkgdesc="Settings application for PhonePi project"
url="https://github.com/PhonePi"
arch=("i686" "x86_64" "armv6h")
license=("GPL2")
makedepends=("git" "cmake")
depends=("qt5-base" "qt5-tools" "qt5-wayland")
source=(git://github.com/PhonePi/phonepi.git)
sha256sums=("SKIP")

build() {
	cd "$srcdir/phonepi/src/settings-app"
	cmake . -DCMAKE_INSTALL_PREFIX=/usr
	make
}

package() {
	cd "$srcdir/phonepi/src/settings-app"
	make DESTDIR=$pkgdir install
	install -Dm600 "./entry/settings-pi.desktop" "$HOME/.local/share/applications"
	install -Dm600 "./entry/settings-pi.png" "$HOME/.local/share/icons"
}