summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Jakub Rup2018-09-21 11:07:45 +0200
committerTomasz Jakub Rup2018-09-21 11:07:45 +0200
commitd5085079ca3281b3873a4be82b6d2b49e6783ed4 (patch)
tree67dafa14ec7bc91eafbb1ef03e900b2de5a1e3a8
parent85e88acc1ae92f8781f1ae85bb1c65fcdac5a143 (diff)
downloadaur-d5085079ca3281b3873a4be82b6d2b49e6783ed4.tar.gz
added conflict with evostreamms
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cba71cd2316..aed33c1b587 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,14 @@
pkgbase = evostream-libavbin
pkgdesc = libav project compiled by EvoStream
pkgver = 2.0.1.5649
- pkgrel = 1
+ pkgrel = 2
url = https://evostream.com/
arch = x86_64
arch = i686
license = custom
makedepends = poppler
+ provides = evostreamms-libavbin
+ conflicts = evostreamms-libavbin
noextract = Evostream-Media-Server-EULA-v2.pdf
source = http://apt.evostream.com/release/debian/9.4/pool/main/e/evostream-libavbin/evostream-libavbin_2.0.1.5649-1_amd64.deb
source = https://evostream.com/public/files/Evostream-Media-Server-EULA-v2.pdf
diff --git a/PKGBUILD b/PKGBUILD
index c0d7f0a8fdf..cbe04862837 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,14 @@
# Maintainer: Tomasz Jakub Rup <tomasz.rup@gmail.com>
pkgname=evostream-libavbin
pkgver=2.0.1.5649
-pkgrel=1
+pkgrel=2
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'
@@ -14,14 +16,14 @@ md5sums=('69d27f2a7265550598668ac64e995de8'
noextract=("Evostream-Media-Server-EULA-v2.pdf")
build() {
+ msg2 "Preparing license..."
pdftotext ${srcdir}/Evostream-Media-Server-EULA-v2.pdf
}
package() {
- mv ${srcdir}/data.tar.xz ${pkgdir}
- cd ${pkgdir}
- bsdtar -xf data.tar.xz
- rm data.tar.xz
+ 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"
}