updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / autsmuxer-git / PKGBUILD
blobc93387ecef362db4c4e6b9eb73ee8b52d0351871
1 # Maintainer: dryes <joswiseman@gmail>
2 pkgname='autsmuxer-git'
3 pkgver=20120107
4 pkgrel=1
5 pkgdesc='autsmuxer is effectively MKV2VOB for *NiX systems.'
6 url='https://github.com/dryes/autsmuxer'
7 arch=('any')
8 license=('GPL')
9 depends=('tsmuxer' 'mkvtoolnix' 'mencoder' 'aften' 'libdca')
10 optdepends=('spdifconvert')
11 makedepends=('git')
13 _gitroot='git://github.com/dryes/autsmuxer.git'
14 _gitname='autsmuxer'
16 build() {
17   cd "${srcdir}"
18   msg 'Connecting to GIT server....'
20   if [ -d "${_gitname}" ] ; then
21     cd "${_gitname}" && git pull origin
22     msg 'The local files are updated.'
23   else
24     git clone "${_gitroot}" "${_gitname}"
25   fi
27   msg 'GIT checkout done or server timeout'
30 package() {
31   install -D -m755 "${srcdir}/autsmuxer/autsmuxer.sh" "${pkgdir}/usr/bin/autsmuxer"