summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4dc478c4bc132c1370782e7e816a6863a3d2bb6e (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: Tomasz Jakub Rup <tomasz.rup@gmail.com>
pkgname=evostream-libavbin
pkgver=2.0.1.5649
pkgrel=3
pkgdesc="libav project compiled by EvoStream"
arch=('x86_64' 'i686')
url="https://evostream.com/"
license=('custom')
makedepends=('poppler')
provides=('evostreamms-libavbin')
conflicts=('evostreamms-libavbin')
source=("http://apt.evostream.com/release/debian/9.4/pool/main/e/evostream-libavbin/${pkgname}_${pkgver}-1_amd64.deb"
        "https://evostream.com/public/files/Evostream-Media-Server-EULA-v2.pdf")
md5sums=('69d27f2a7265550598668ac64e995de8'
         'ee93910c6589b26c8eb056921f1944f8')
noextract=("Evostream-Media-Server-EULA-v2.pdf")

build() {
  msg2 "Preparing license..."
  pdftotext ${srcdir}/Evostream-Media-Server-EULA-v2.pdf
}

package() {
  depends=('zlib' 'bash')

  msg2 "Extracting the data.tar.xz..."
  bsdtar -xf data.tar.xz -C "${pkgdir}/"

  msg2 "Adding license..."
  install -Dm644 "${srcdir}/Evostream-Media-Server-EULA-v2.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}