updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / redsky / PKGBUILD
blobd94857d734bc49832071804caa173cdaf9b25d8d
1 # Contributor: Glenn Matthys <glenn@webmind.be>
2 pkgname=redsky
3 pkgver=1.5
4 pkgrel=1
5 pkgdesc="An easily extensible email filter system written in PHP"
6 arch=('i686' 'x86_64')
7 url="http://projects.webmind.be/redsky"
8 depends=('php' 'phpemailtoolbox')
9 backup=(
10         etc/redsky.config.php
12 source=(
13         ${url}/releases/${pkgname}-${pkgver}.tar.gz
15 md5sums=(5cc40817381d418510878b4ca0176660)
16 license=('BSD beerware enhanced')
18 build() {
19         mkdir -p $startdir/pkg/etc
20         mkdir -p $startdir/pkg/usr/bin
21         mkdir -p $startdir/pkg/usr/share/php/redsky
23         cd $startdir/src/${pkgname}-${pkgver}
25         cp -R lib/* $startdir/pkg/usr/share/php/redsky
27         install -m755 bin/redsky $startdir/pkg/usr/bin/redsky
28         install -m644 etc/redsky.config.php $startdir/pkg/etc/redsky.config.php
30         install -Dm644 LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE