updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / knots2-git / PKGBUILD
blob136cbaeb7974dce59b87ff4851b87b116e031ff7
1 # Contributor: Carol Alexandru <shapeshifter at archlinux.us>
2 pkgname=knots2-git
3 pkgver=20100214
4 pkgrel=1
5 pkgdesc="A feature rich streaming server"
6 arch=('i686' 'x86_64')
7 url="http://wiki.maemo.org/Knots2"
8 license=('GPL')
9 depends=('ruby' 'ruby-sqlite3' 'vlc' 'ffmpeg')
10 makedepends=('git')
11 provides=('knots2')
12 conflicts=('knots2')
13 source=('knots2')
14 md5sums=('b5c1838abe7679059ec60a6685daae47')
16 _gitroot="git://github.com/solmis/knots.git"
17 _gitname="knots"
19 build() {
20   cd ${startdir}/src
21   msg "Connecting to GIT server...."
22   git clone ${_gitroot}
23   
24   msg2 "GIT checkout done or server timeout"
25   msg "Installing to /opt/knots2..."
27   mkdir -p ${pkgdir}/opt/knots2
28   cp -R ${srcdir}/knots/* ${pkgdir}/opt/knots2
29   install -D -m755 ${startdir}/knots2 ${pkgdir}/usr/bin/knots2