updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / news / PKGBUILD
blob21ea3055d2589fcfbde405109909a53a3a4196ff
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=news
4 pkgver=0.5.0
5 pkgrel=2
6 pkgdesc="RSS Feed Ticker bar on your desktop as on news TV channels."
7 arch=('i686' 'x86_64')
8 url="http://rssfeedticker.free.fr/"
9 license=('GPL3')
10 depends=('gtk2' 'libxml2')
11 source=(http://www.newsrssticker.com/src/news-$pkgver.tar.gz)
12 md5sums=('664d43eb48c43ce6fd7246159ad7fab5')
14 build() {
15    cd $srcdir/$pkgname-$pkgver
17    ./configure --prefix=/usr
18    make
20    # License
21    mkdir -p $pkgdir/usr/share/licenses/news
22    install -Dm644 LICENSE $pkgdir/usr/share/licenses/news/LICENSE
24    # Images
25    mkdir -p $pkgdir/usr/share/icons
26    cd ./images
27    cp *.png $pkgdir/usr/share/icons
29    # Desktop icon
30    install -Dm644 news_logo.png $pkgdir/usr/share/pixmaps/news.png
31    install -Dm644 $startdir/news.desktop $pkgdir/usr/share/applications/news.desktop
33    # Binary
34    cd $srcdir/$pkgname-$pkgver/src/news
35    install -Dm755 news $pkgdir/usr/bin/news