blob: f53873e330a176290f7ef355deb7237eddb664dd (
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
|
# Maintainer: The3DmaN <the3dman dot appdev at protonmail dot com>
pkgname=idokremote-git
pkgver=r131.dd279f5
pkgrel=1
pkgdesc="Remote for Kodi"
arch=("any")
url="https://gitlab.com/The3DmaN/${pkgname%-git}"
license=("GPL3")
makedepends=("git")
depends=("qt5-svg" "qt5-base" "qt5-wayland" "qt5-quickcontrols2")
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://gitlab.com/The3DmaN/${pkgname%-git}.git")
md5sums=("SKIP")
build()
{
cd "$srcdir/${pkgname%-git}"
# and make qt gui
qmake-qt5 USE_QRCODE=1 USE_UPNP=1
make
}
pkgver()
{
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package()
{
cd "$srcdir/${pkgname%-git}"
install -Dm644 Idok.desktop "$pkgdir"/usr/share/applications/Idok.desktop
install -Dm644 images/Idok.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/Idok.svg
install -Dm755 IdokRemote "$pkgdir"/usr/bin/IdokRemote
}
|