summaryrefslogtreecommitdiffstats
path: root/abs/core/myththemes
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-09 01:41:05 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-09 01:41:05 (GMT)
commitf33c5716af099ce4d779cf67f65204f11b551ed6 (patch)
tree3a923f3e9eb85abc209c4966ca9b124785cf9ccc /abs/core/myththemes
parentd1a2086bb8760870aa53c28070874069574d735e (diff)
downloadlinhes_pkgbuild-f33c5716af099ce4d779cf67f65204f11b551ed6.zip
linhes_pkgbuild-f33c5716af099ce4d779cf67f65204f11b551ed6.tar.gz
linhes_pkgbuild-f33c5716af099ce4d779cf67f65204f11b551ed6.tar.bz2
myththemes: initial 0.24 include. Needs testing.
Diffstat (limited to 'abs/core/myththemes')
-rw-r--r--abs/core/myththemes/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/abs/core/myththemes/PKGBUILD b/abs/core/myththemes/PKGBUILD
new file mode 100644
index 0000000..0038f2e
--- /dev/null
+++ b/abs/core/myththemes/PKGBUILD
@@ -0,0 +1,51 @@
+# $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=1
+pkgdesc="Themes for MythTV"
+arch=('any')
+url="http://www.mythtv.org/"
+license=('GPL')
+depends=("mythtv>=${pkgver}")
+source=(`echo ${patches[@]:0}`)
+
+build() {
+ _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes"
+ _svnmod="${pkgname}"
+
+ # get clean copy from SVN repo
+ if [ -d "${srcdir}/${pkgname}" ]
+ then
+ cd "${srcdir}/${pkgname}"
+ echo "Updating from SVN..."
+ svn up
+ else
+ cd "${srcdir}"
+ echo "Checking Out from SVN..."
+ svn co "${_svntrunk}/${_svnmod}"
+ cd "${srcdir}/${pkgname}"
+ fi
+
+ # 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-----------------------------------------------"
+
+ # clean up from last build
+ make distclean
+
+ cd "${srcdir}/${pkgname}"
+
+ ./configure --prefix=/usr || return 1
+ # basic install
+ make INSTALL_ROOT="${pkgdir}" install || return 1
+}