blob: dd7c5e8f9b1b00b540334fa7912f78d0bae4e977 (
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
|
pkgname=krudio-qml
pkgver=20180619
_git=2333e66536a760a87bc78e93ce5966b8f4c5d406
_repo=krudio-qml
pkgrel=4
pkgdesc="Simple Qt5 QML radio player"
arch=('i686' 'x86_64')
url="https://github.com/loast/${_repo}"
license=('MIT')
makedepends=('git' 'qt5-multimedia' 'qt5-quickcontrols2' 'hicolor-icon-theme')
depends=('git' 'qt5-multimedia' 'qt5-quickcontrols2' 'hicolor-icon-theme')
source=("${_repo}-${pkgver}.tar.gz::${url}/archive/${_git}.tar.gz")
md5sums=('SKIP')
package() {
# Compiling
cd "$srcdir/${_repo}-${_git}"
make all
# Build
mkdir -p $pkgdir/usr/share/krudio-qml
mkdir -p $pkgdir/usr/share/krudio-qml/data
install -Dm755 $srcdir/${_repo}-${_git}/src/krudio-qml.desktop $pkgdir/usr/share/applications/krudio-qml.desktop
install -Dm755 $srcdir/${_repo}-${_git}/src/data/* $pkgdir/usr/share/krudio-qml/data/
install -Dm755 $srcdir/${_repo}-${_git}/src/krudio-qml $pkgdir/usr/bin/krudio-qml
chmod -R 777 $pkgdir/usr/share/krudio-qml
}
|