updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / subs2srs / PKGBUILD
blob1abfb8cfb558069ecc5245f0b215b3de9dc4b08c
1 # Maintainer: darkgrin <darkgrin@yahoo.com>
2 pkgname=subs2srs
3 pkgver=23.3
4 pkgrel=2
5 pkgdesc="A small utility that allows you to create Anki (flash card software) import files based on your favorite foreign language movies and TV shows to aid in the language learning process."
6 arch=('i686' 'x86_64')
7 url="http://subs2srs.sourceforge.net/"
8 license=('GPL')
9 depends=('mono')
10 optdepends=('ffmpeg' 'anki')
11 source=('http://downloads.sourceforge.net/project/subs2srs/subs2srs/subs2srs_v23.3/subs2srs_v23.3_linux.zip')
12 md5sums=('b3bee4851d7a0d93e8cbfe181932634c')
14 package() {
15   cd "$srcdir/$pkgname"
16   mkdir -p "$pkgdir/opt"
17   cp -r "$srcdir/$pkgname" "$pkgdir/opt/"
19   mkdir -p "$pkgdir/usr/bin"
20   echo "#!/bin/bash" > "$pkgdir/usr/bin/$pkgname"
21   echo "mono /opt/$pkgname/$pkgname.exe" >> "$pkgdir/usr/bin/$pkgname"
22   chmod 755 "$pkgdir/usr/bin/$pkgname"
25 # vim:set ts=2 sw=2 et: