summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a89400629d7b6311ced43a8f513a1dd4ea4d8f5d (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
# Maintainer: ELmoussaoui Bilal <bil.elmoussaoui@gmail.com>

pkgname=gradio
_gitname=gradio
pkgver=4.0.1
pkgrel=1
pkgdesc='A GTK3 app for finding and listening to internet radio stations'
arch=('i686' 'x86_64')
license=('GPL3')
url="https://github.com/haecker-felix/gradio"
depends=('desktop-file-utils' 'gstreamer' 'json-glib' 'libgee' 'libsoup')
makedepends=('unzip' 'gnome-common' 'intltool' 'itstool' 'vala' 'yelp-tools' 'cmake')
options=('!emptydirs')
install=gradio.install
source=("https://github.com/haecker-felix/${_gitname}/archive/v${pkgver}.zip")
md5sums=('7c50e0dc0ec944d0a7893d8a7df1c41a')
conflicts=('gradio-git')
provides=("gradio=$pkgver")

build() {
	cd "$srcdir/gradio-${pkgver}"
	mkdir build
	cd build
	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
	make
}

package() {
	cd "$srcdir/gradio-${pkgver}/build"
	make DESTDIR="${pkgdir}" install
}