summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cac270b186d0c80a0e2cc48e91180bfa40b2cce9 (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
# Maintainer: Duy Truong <jimreynold2nd@yahoo.com>

pkgname=unlinkmkv-git
pkgver=r38.cadb872
pkgrel=1
pkgdesc="Merges ordered chapters / segmented MKVs back into a single file."
arch=('any')
url="https://github.com/gnoling/UnlinkMKV"
license=('GPL')
makedepends=('git')
depends=('perl' 'mkvtoolnix-cli' 'perl-xml-libxml' 'perl-log-log4perl' 'perl-string-crc32' 'perl-ipc-run3' 'perl-file-which' 'ffmpeg' 'perl-json')
source=('git+https://github.com/gnoling/UnlinkMKV.git')
sha256sums=('SKIP')

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

package() {
   cd "$srcdir/UnlinkMKV"
   mkdir -p $pkgdir/usr/bin
   install -m 0755 unlinkmkv $pkgdir/usr/bin/
}