summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/webcal/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-09 02:33:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-09 02:33:06 (GMT)
commit1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e (patch)
treef336ee91ce16c6591fff50340562e07e15aa1a55 /abs/mv-core/webcal/PKGBUILD
parent75b1bceb21faab32d8f519d6f7f7062a226f9047 (diff)
downloadlinhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.zip
linhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.tar.gz
linhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.tar.bz2
MythVantage specific pkgs
Diffstat (limited to 'abs/mv-core/webcal/PKGBUILD')
-rwxr-xr-xabs/mv-core/webcal/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/mv-core/webcal/PKGBUILD b/abs/mv-core/webcal/PKGBUILD
new file mode 100755
index 0000000..efa8237
--- /dev/null
+++ b/abs/mv-core/webcal/PKGBUILD
@@ -0,0 +1,35 @@
+pkgname=webcalendar
+pkgver=1.2.b1
+pkgrel=11
+pkgdesc="Web based calendar"
+license="GPL"
+arch=('i686')
+
+url="http://www.k5n.us/webcalendar.php"
+source=(http://voxel.dl.sourceforge.net/sourceforge/webcalendar/WebCalendar-1.2.b1.tar.gz config.php settings.php send_reminders.patch createdb.sql sendreminders.sh posix.tab)
+depends="local-website"
+install=webcal.install
+
+build() {
+cd $startdir/src
+mkdir -p $startdir/pkg/data/srv/httpd/htdocs/webcal
+mkdir -p $startdir/pkg/usr/bin
+cp $startdir/src/sendreminders.sh $startdir/pkg/usr/bin/
+chmod 755 $startdir/pkg/usr/bin/sendreminders.sh
+
+cp -rp WebCalendar-$pkgver/* $startdir/pkg/data/srv/httpd/htdocs/webcal
+
+cp createdb.sql $startdir/pkg/data/srv/httpd/htdocs/webcal/
+cp config.php $startdir/pkg/data/srv/httpd/htdocs/webcal/includes
+cp settings.php $startdir/pkg/data/srv/httpd/htdocs/webcal/includes
+cp -f posix.tab $startdir/pkg/data/srv/httpd/htdocs/webcal/includes/zone.tab
+
+cd $startdir/pkg/data/srv/httpd/htdocs/webcal/tools
+
+patch -p0 < $startdir/src/send_reminders.patch
+
+chmod 755 $startdir/pkg/data/srv/httpd/htdocs/webcal/tools/send_reminders.php
+
+
+}
+