updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / meteor / PKGBUILD
blob32e2ea481e4a956b1c94ef41b02b71f9bfb823a2
1 # Maintainer: Alvis Mikovs <alvis.mikovs@gmail.com>
2 # Contributor: Alvis Mikovs <alvis.mikovs@gmail.com>
4 pkgname=meteor
5 pkgver=1.06
6 pkgrel=1
7 pkgdesc="HTTP server, offering developers a simple means of integrating streaming data into web applications."
8 arch=('i686' 'x86_64')
9 license=('GPL2')
10 depends=(perl)
11 url="http://meteorserver.org/"
13 install=${pkgname}.install
14 source=(http://meteorserver.org/download/latest.tgz
15         meteord
16                                 meteord.conf)
17 md5sums=('002cc0a1c5765d2dec8755107cffa681'
18          '9b0ceb804717a48470eafcc9be986a08'
19          '6d09dff69efcff6a2831515482cbc9e8')
21 build() {
22         install -D -m 755 $srcdir/meteord $pkgdir/usr/sbin/meteord
23         install -d -m 755 $pkgdir/usr/lib/perl5/site_perl/current/Meteor/
24         cp -R $srcdir/Meteor/* $pkgdir/usr/lib/perl5/site_perl/current/Meteor/
25         chmod 644 $pkgdir/usr/lib/perl5/site_perl/current/Meteor/*
26         install -d -m 755 $pkgdir/srv/meteor/
27         cp -R $srcdir/public_html/* $pkgdir/srv/meteor/
28         chmod 644 $pkgdir/srv/meteor/*
29         install -D -m 644 $startdir/meteord.conf $pkgdir/etc/meteord.conf
30         install -D -m 755 $startdir/meteord $pkgdir/etc/rc.d/meteord