summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e9b80a3de8f789e2bea122a1c4ca61d511cac75 (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
# Maintainer: Tomasz Jakub Rup <tomasz.rup@gmail.com>
pkgname=evostream-web
pkgver=2.0.1.5649
pkgrel=2
pkgdesc="EvoStream web services and web user interface"
arch=('any')
url="https://evostream.com/"
license=('custom')
makedepends=('poppler')
install="${pkgname}.install"
provides=('evostreamms-web')
conflicts=('evostreamms-web')
source=("http://apt.evostream.com/release/debian/9.4/pool/main/e/evostream-web/${pkgname}_${pkgver}-1_all.deb"
        "https://evostream.com/public/files/Evostream-Media-Server-EULA-v2.pdf")
md5sums=('6ab8c9a2b6f20629a011c8a9a8b12e48'
         'ee93910c6589b26c8eb056921f1944f8')
noextract=("Evostream-Media-Server-EULA-v2.pdf")

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

package() {
  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"
}