summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0185d2a63585a94dd70c766e2e8ee6c33c2ec050 (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
# Maintainer: Raphael Freudiger <laser_b at gmx dot ch>
pkgname=chromecastize-git
pkgver=59.c739cec
pkgrel=1
pkgdesc="Bash script to convert video files into Google Chromecast supported format."
arch=('any')
url="https://github.com/bc-petrkotek/chromecastize"
license=('GPL')
depends=('ffmpeg' 'mediainfo')
makedepends=('git')
source=('git+https://github.com/bc-petrkotek/chromecastize.git')
md5sums=('SKIP')

pkgver() {
    cd "chromecastize"
    printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/chromecastize"
}

package() {
    cd "$srcdir/chromecastize"

    install -d "$pkgdir/usr/bin/"
    install -t "$pkgdir/usr/bin/" chromecastize.sh
}