updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / dalbum / PKGBUILD
blob416d95b02da364e84beaa11dba0a65dabf9e96c1
1 # Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
2 # http://github.com/fukawi2/aur-packages
3 pkgname=dalbum
4 pkgver=143_173
5 pkgrel=1
6 pkgdesc="A free PHP photo album. It is small, easy to install and highly customizable at the same time. Features include slide shows, image comments, support for video and PDF files and many more."
7 arch=(any)
8 url="http://www.dalbum.org/"
9 license=('GPL')
10 depends=('imagemagick' 'php>=4.1')
11 backup=('srv/http/dalbum/config/config.php')
12 source=(http://www.dalbum.org/${pkgname}${pkgver}.tar.gz)
13 md5sums=('43cb71065909f772e38782b5e7d36c9b')
15 build() {
16   msg "Nothing to compile for $pkgname"
19 package() {
20   _INST_DIR='srv/http/dalbum'
22   # Install webroot files
23         mkdir -p $pkgdir/$_INST_DIR || return 1
24         cp -r $srcdir/* $pkgdir/$_INST_DIR || return 1
25         
26   # Fix permissions
27   chown -R 33:33 $pkgdir/$_INST_DIR || return 1
28   chmod -R u=rwX,go=rX $pkgdir/$_INST_DIR || return 1
31 # vim:set ts=2 sw=2 et: