diff options
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | gradio.install | 13 |
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9b3fef7a8bd2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = gradio + pkgdesc = A GTK3 app for finding and listening to internet radio stations + pkgver = 4.0.1 + pkgrel = 1 + url = https://github.com/haecker-felix/gradio + install = gradio.install + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = gnome-common + makedepends = intltool + makedepends = itstool + makedepends = vala + makedepends = yelp-tools + makedepends = cmake + depends = desktop-file-utils + depends = gstreamer + depends = json-glib + depends = libgee + depends = libsoup + provides = gradio=4.0.1 + conflicts = gradio-git + options = !emptydirs + source = https://github.com/haecker-felix/gradio/archive/v4.0.1.zip + md5sums = 7c50e0dc0ec944d0a7893d8a7df1c41a + +pkgname = gradio + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7dac3477b038 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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=('git' '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 +} diff --git a/gradio.install b/gradio.install new file mode 100644 index 000000000000..ffc8ad906888 --- /dev/null +++ b/gradio.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
\ No newline at end of file |