mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
|
||
|
# Contributor: Thomas Jost <thomas.jost@gmail.com>
|
||
|
|
||
|
pkgname=subdownloader
|
||
|
pkgver=2.0.9.3
|
||
|
pkgrel=1
|
||
|
pkgdesc="Automatic download/upload of subtitles using fast hashing"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.subdownloader.net/"
|
||
|
license=('GPL2')
|
||
|
depends=('imdbpy' 'mmpython' 'pyqt')
|
||
|
source=(http://launchpad.net/$pkgname/trunk/2.0.9/+download/$pkgname-$pkgver.tar.gz)
|
||
|
md5sums=('eff9ef5b0f027ff913798cdc41f5ce47')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/$pkgname"
|
||
|
|
||
|
install -d "$pkgdir/usr/share/$pkgname" "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1/"
|
||
|
|
||
|
gzip subdownloader.1
|
||
|
install -D subdownloader.1.gz "$pkgdir/usr/share/man/man1/"
|
||
|
install -D -m644 subdownloader.desktop "$pkgdir/usr/share/applications/subdownloader.desktop"
|
||
|
rm subdownloader.1.gz subdownloader.desktop
|
||
|
|
||
|
cp -a * "$pkgdir/usr/share/$pkgname/"
|
||
|
chmod 755 "$pkgdir/usr/share/$pkgname/run.py"
|
||
|
ln -s "/usr/share/$pkgname/run.py" "$pkgdir/usr/bin/subdownloader"
|
||
|
|
||
|
install -D -m644 gui/images/subdownloader.png "$pkgdir/usr/share/pixmaps/subdownloader.png"
|
||
|
}
|