summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b071cd0d1f67b8b1f9b79d1bc3f5cbce2b46f56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: 3ED <krzysztof1987@gmail.com>

pkgname=napi-bash
pkgver=1.1.0
pkgrel=1
pkgdesc="Lightweight, easy and fast polish subtitle downloader from the napiprojekt.pl"
arch=('any')
url="http://3ed.github.io/napi-bash/"
license=('GPL')
depends=('bash>=4.1' 'curl' 'p7zip' 'coreutils' 'findutils')
optdepends=('notification-daemon: dla wersji GUI/GTK'
            'dos2unix: konwertowanie znaku konca linii dos/unix'
            'subotage: konwertowanie formatów (nie wymagane dla detekcji)'
            'ffmpeg: detektor FPS dla subotage'
            'mediainfo: detektor FPS dla subotage'
            'mplayer: detektor FPS dla subotage'
            'bc: kalkulator dla ffmpeg')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/3ed/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('8b298f2b77dce14ef5244b122c451a354d8b7baafb0e316bd24ad276b794a675')

build() {
  cd "$pkgname-$pkgver"
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"
  make install DESTDIR="$pkgdir"
}