summaryrefslogtreecommitdiff
path: root/pcr/gnomeradio
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
commit462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch)
tree11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/gnomeradio
parent748e32a3a886569b58a27003e85b76be5746153d (diff)
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/gnomeradio')
-rw-r--r--pcr/gnomeradio/PKGBUILD49
-rw-r--r--pcr/gnomeradio/gnomeradio.install11
2 files changed, 0 insertions, 60 deletions
diff --git a/pcr/gnomeradio/PKGBUILD b/pcr/gnomeradio/PKGBUILD
deleted file mode 100644
index 1fa76de08..000000000
--- a/pcr/gnomeradio/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# Maintainer: none
-# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (AUR): tritonas00 <tritonas00@gmail.com>
-# Contributor: Ivan Rojas <kirdux@gmail.com>
-
-# Because gnomeradio is written against ancient libraries, we must patch it to
-# compile and work on a modern system. Let's just grab the patch series that
-# Debian uses.
-_debver=1.8-2 # which patches to grab from Debian
-_debrepo=http://ftp.debian.org/debian/pool/main
-_debfile() { echo "${_debrepo}/${1:0:1}/${1}/${1}_${2}"; }
-
-pkgname=gnomeradio
-pkgver=1.8
-pkgrel=6.1
-pkgdesc="An FM-radio tuner for the GNOME desktop"
-url="https://projects.gnome.org/gnomeradio/"
-license=('GPL')
-arch=('i686' 'x86_64')
-install=gnomeradio.install
-depends=(libgnome-media-profiles lirc-utils hicolor-icon-theme)
-makedepends=(gnome-doc-utils intltool gnome-vfs libgnomeui v4l-utils)
-source=(https://launchpad.net/$pkgname/stable/$pkgver/+download/$pkgname-$pkgver.tar.gz
- $(_debfile "$pkgname" "$_debver").debian.tar.gz)
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- while read -r patchfile; do
- patch -p1 -i "$srcdir/debian/patches/$patchfile"
- done <"$srcdir/debian/patches/series"
- autoconf
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- LIBS=-lm ./configure --prefix=/usr --sysconfdir=/etc --disable-scrollkeeper \
- --disable-install-schemas
- make
-}
-
-package () {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- mkdir "$pkgdir"/usr/share/pixmaps
- install data/icons/scalable/gnomeradio.svg "$pkgdir"/usr/share/pixmaps/gnomeradio.svg
-}
-
-md5sums=('26f07c432dffeebec3cc904f99295427'
- '019ce748f8463d3eaebbb3e88d18d3e0')
diff --git a/pcr/gnomeradio/gnomeradio.install b/pcr/gnomeradio/gnomeradio.install
deleted file mode 100644
index 1a05f573e..000000000
--- a/pcr/gnomeradio/gnomeradio.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}