mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
29 lines
919 B
Bash
29 lines
919 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
|
||
|
pkgname=cchost
|
||
|
pkgver=5.0.1
|
||
|
_getid3ver=1.7.8b3
|
||
|
pkgrel=1
|
||
|
pkgdesc="Web-based System Supporting Remixing and Collaboration on Media"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://wiki.creativecommons.org/CcHost"
|
||
|
license=('GPL')
|
||
|
depends=(php)
|
||
|
install=cchost.install
|
||
|
backup=(srv/http/cchost/.htaccess)
|
||
|
source=(http://downloads.sourceforge.net/cctools/cchost-$pkgver.zip \
|
||
|
http://downloads.sourceforge.net/sourceforge/getid3/getid3-${_getid3ver}.zip)
|
||
|
md5sums=('94f38fa02c9d0fdcdcdb9ba2f3a93eb0'
|
||
|
'6262a7e258dca973ea5b6524f7f975ee')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
mkdir -p $pkgdir/srv/http
|
||
|
mv $srcdir/getid3 ./ && \
|
||
|
mv $srcdir/$pkgname-$pkgver $pkgdir/srv/http/cchost && \
|
||
|
echo "deny from all" > $pkgdir/srv/http/cchost/.htaccess || return 1
|
||
|
|
||
|
find $pkgdir/srv/http/cchost -type f -exec chmod 0644 {} \;
|
||
|
}
|