summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgrepper2015-06-14 20:35:02 -0400
committergrepper2015-06-14 20:35:02 -0400
commit3a8c12841dd7c412bf984466dbc6bf58d01e394b (patch)
tree4fc6b6c0459f9ba6f3179184f84ed4afc9011350 /PKGBUILD
downloadaur-3a8c12841dd7c412bf984466dbc6bf58d01e394b.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
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
+}