updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / freeguide / PKGBUILD
blob198dd56f7ab345c9e3c5b65999cf9467351b378b
1 #Maintainer: Nathan Owe <ndowens.aur at gmail dot com>
2 pkgname=freeguide
3 pkgver=0.11
4 pkgrel=1
5 pkgdesc="A free TV guide program written in Java"
6 arch=('i686' 'x86_64')
7 url="http://freeguide-tv.sourceforge.net"
8 license=('GPL2')
9 depends=('java-runtime' 'xmltv')
10 makedepends=('apache-ant')
11 source=(http://downloads.sourceforge.net/freeguide-tv/${pkgname}-${pkgver}.tar.gz)
12 md5sums=('15bba69e5fde5db43690fed5bf35b8ba')
14 build() {
15   cd ${srcdir}/${pkgname}-${pkgver}
16   ant 
18 package()
20         cd ${srcdir}/${pkgname}-${pkgver}
21         install -d ${pkgdir}/usr/share/applications
22         ant -Dinstall_share_dir=$pkgdir/usr/share \
23                 -Dinstall_bin_dir=${pkgdir}/usr/bin \
24                 -Dinstall_real_dir=/usr/share/freeguide install
25         install -Dm644 install/linux/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop