diff options
author | Oliver Jaksch | 2017-07-23 07:33:09 +0200 |
---|---|---|
committer | Oliver Jaksch | 2017-07-23 07:33:09 +0200 |
commit | 2ae6cb3c282f0c5c95b362eeaa457b92f48f487d (patch) | |
tree | 9550518f967eda0e0e4e1127db77213ee58813f0 | |
download | aur-2ae6cb3c282f0c5c95b362eeaa457b92f48f487d.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | kradio-git.install | 11 |
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d3b07d800a5e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +# Generated by mksrcinfo v8 +# Sun Jul 23 05:33:08 UTC 2017 +pkgbase = kradio-git + pkgdesc = Comfortable KDE internet and AM/FM radio application + pkgver = 1275.8696844f + pkgrel = 1 + url = http://kradio.sourceforge.net/ + install = kradio-git.install + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = automoc4 + makedepends = cmake + makedepends = boost + depends = kdebase-runtime + depends = lirc-utils + depends = libmms + depends = ffmpeg + source = git://git.code.sf.net/p/kradio-git/code + sha256sums = SKIP + +pkgname = kradio-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2d6ca868c6ad --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Oliver Jaksch <arch-aur@com-in.de> +# Contributor: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> +# https://github.com/aur-archive/kradio + +pkgname=kradio-git +pkgver=1275.8696844f +pkgrel=1 +pkgdesc='Comfortable KDE internet and AM/FM radio application' +arch=('i686' 'x86_64') +url='http://kradio.sourceforge.net/' +license=('GPL2') +depends=('kdebase-runtime' 'lirc-utils' 'libmms' 'ffmpeg') +makedepends=('automoc4' 'cmake' 'boost') +install="${pkgname}.install" +# source=("http://downloads.sourceforge.net/${pkgname}/kradio4-${pkgver}.tar.bz2") +source=("git://git.code.sf.net/p/${pkgname}/code") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/code" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "${srcdir}/code" + mkdir build + cd build + cmake -Wno-dev ".." \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make ${MAKEFLAGS} +} + +package() { + cd "${srcdir}/code/build" + make DESTDIR="${pkgdir}" install +} diff --git a/kradio-git.install b/kradio-git.install new file mode 100644 index 000000000000..97fda5a9615b --- /dev/null +++ b/kradio-git.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |