updated on Sun Jan 22 04:03:10 UTC 2012
[aur-mirror.git] / vcd-db / PKGBUILD
blob61d524accfce1420ccd9709718c6094874844e6c
1 #Contributor: Víctor Martínez Romanos <vmromanos@gmail.com>
2 pkgname=vcd-db
3 pkgver=0.991
4 _progver=0991
5 pkgrel=1
6 pkgdesc="Web based movie catalog software"
7 url="http://vcddb.konni.com"
8 depends=('php' 'mysql' 'libmysqlclient')
9 license=('GPL')
10 arch=('i686' 'x86_64')
11 install=vcddb.install
12 backup=('home/httpd/html/vcddb/classes/VCDConstants.php' \ 
13         'home/httpd/html/vcddb/config.php')
14 source=(http://dl.sourceforge.net/sourceforge/$pkgname/vcddb-$_progver.tar.gz)
15 md5sums=('678a2be49c3c52e2859dbe3d401acf92')
17 build() {
18   instdir=$startdir/pkg/home/httpd/html/vcddb
19   mkdir -p $instdir
20   cd $instdir
21   cp -r $startdir/src/vcddb/* .
22   rm README CHANGELOG
23   chmod 0777 upload
24   chmod 0777 upload/cache
25   chmod 0777 upload/covers
26   chmod 0777 upload/nfo
27   chmod 0777 upload/pornstars
28   chmod 0777 upload/screenshots/albums
29   chmod 0777 upload/screenshots/generated
30   chmod 0777 upload/thumbnails