summaryrefslogtreecommitdiff
path: root/community/mate-applet-streamer/PKGBUILD
blob: 4e314809019a5a0ac37e10c37397741c1e1bd639 (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
# $Id: PKGBUILD 110145 2014-04-24 20:53:44Z flexiondotorg $
# Maintainer : Martin Wimpress <code@flexion.org>

pkgname=mate-applet-streamer
pkgver=0.1.0
pkgrel=1
pkgdesc="A MATE panel applet to let you play your favourite online radio station with a single click."
url="http://www.zavedil.com/online-radio-applet/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gst-plugins-base' 'gtk2' 'libnotify' 'mate-panel' 'sqlite')
makedepends=('mate-common')
optdepends=('gst-plugins-bad: for MP3 decoding')
source=("http://www.zavedil.com/wp-content/uploads/2014/04/${pkgname}-${pkgver}.tar.gz")
sha1sums=('8ccd0f6471de7cb0902ea8c1087b9b6f0293156a')
install=${pkgname}.install

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./configure \
        --prefix=/usr \
        --libexecdir=/usr/lib/${pkgname}
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    rm -f "${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled"
}