summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrepper2015-06-14 20:35:02 -0400
committergrepper2015-06-14 20:35:02 -0400
commit3a8c12841dd7c412bf984466dbc6bf58d01e394b (patch)
tree4fc6b6c0459f9ba6f3179184f84ed4afc9011350
downloadaur-3a8c12841dd7c412bf984466dbc6bf58d01e394b.tar.gz
Initial import
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD40
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..598646efe54
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = tovid
+ pkgdesc = A suite of tools for creating video DVDs
+ pkgver = 0.35.0
+ pkgrel = 1
+ url = http://tovid.wikia.com
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = txt2tags
+ depends = mplayer
+ depends = mjpegtools
+ depends = ffmpeg
+ depends = python2
+ depends = tix
+ depends = imagemagick
+ depends = dvdauthor
+ depends = dvd+rw-tools
+ depends = sox
+ depends = normalize
+ depends = bc
+ optdepends = transcode: faster for animated submenus (ffmpeg used otherwise)
+ conflicts = tovid-svn
+ conflicts = tovid-git
+ source = https://github.com/tovid-suite/tovid/releases/download/v0.35.0/tovid-0.35.0.tar.gz
+ sha256sums = 06f7cb00b213bbe83d72f4f2076b675a662697034e1d2cdc2dce987e35c827bc
+
+pkgname = tovid
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a7d520fa15f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: grepper<grepper@gmail.com>
+# Submitter: grepper<grepper@gmail.com>
+# Contributor: CRT<crt.011@gmail.com>
+# Contributor: Alexandros Konstantinakis - Karmis <el04092@mail.ntua.gr>
+# Contributor: Jeremie Lasalle Ratelle <lasallej@iro.umontreal.ca>
+pkgname=tovid
+pkgver=0.35.0
+pkgrel=1
+pkgdesc="A suite of tools for creating video DVDs"
+depends=('mplayer' 'mjpegtools' 'ffmpeg' 'python2' 'tix' \
+'imagemagick' 'dvdauthor' 'dvd+rw-tools' 'sox' 'normalize' 'bc')
+optdepends=('transcode: faster for animated submenus (ffmpeg used otherwise)')
+makedepends=('txt2tags')
+arch=('i686' 'x86_64')
+url='http://tovid.wikia.com'
+license=('GPL')
+conflicts=('tovid-svn' tovid-git)
+source=(https://github.com/tovid-suite/tovid/releases/download/v${pkgver}/$pkgname-$pkgver.tar.gz)
+
+sha256sums=('06f7cb00b213bbe83d72f4f2076b675a662697034e1d2cdc2dce987e35c827bc')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ for file in setup.py src/titleset-wizard; do
+ sed -i 's/\/usr\/bin\/env.*$/\/usr\/bin\/python2/' $file
+ done
+
+ for file in src/todiscgui src/tovid-stats src/set_chapters; do
+ sed -i 's/\/usr\/bin\/env.*$/\/usr\/bin\/python2/' $file
+ done
+
+ sed -i 's/\/usr\/bin\/python.*$/\/usr\/bin\/python2/' src/tovid
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py install --root="$pkgdir"
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
+}