summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD
blob: 002d86763ee9564546cd6040056ab4461ddc094a (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
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 86938 2010-08-06 21:53:33Z ibiru $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org> 
# Contributor: kleptophobiac@gmail.com

pkgname=myththemes
pkgver=0.24
pkgrel=8
pkgdesc="Themes for MythTV"
arch=('any')
url="http://www.mythtv.org/"
license=('GPL')
depends=("mythtv>=${pkgver}")
source=('ftp://ftp.knoppmyth.net/R6/sources/myththemes-0.24-fixes.tar.bz2' `echo ${patches[@]:0}`)
_gitroot="https://github.com/MythTV/myththemes.git"
_gitname="${pkgname}"
build() {
	cd $srcdir/myththemes
	git pull
        rm -fr Mythbuntu
        # apply patches
        echo "--------------------------applying patches----------------------------------------------------"
        for i in `echo ${patchs[@]:0} `
        do
                echo applying $i
                echo "-----------------------------"
                patch -Np0  -i ${startdir}/src/$i  || return 1
        done
        echo "--------------------------done applying patches-----------------------------------------------"

  cd "${srcdir}/${pkgname}"
  ./configure --prefix=/usr || return 1
}
package() {
  cd "${srcdir}/${pkgname}"
  make INSTALL_ROOT="${pkgdir}" install || return 1
}
md5sums=('a5c9475a6d29c313cd9ae77566ee277a')