summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Jakub Rup2018-09-18 19:42:12 +0200
committerTomasz Jakub Rup2018-09-18 19:42:12 +0200
commit85e88acc1ae92f8781f1ae85bb1c65fcdac5a143 (patch)
tree83a65b49c9838fe6768e28c9023346de6ef02f8c
downloadaur-85e88acc1ae92f8781f1ae85bb1c65fcdac5a143.tar.gz
Initial commit, version 2.0.1
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore5
-rw-r--r--Makefile13
-rw-r--r--PKGBUILD27
4 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cba71cd2316
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = evostream-libavbin
+ pkgdesc = libav project compiled by EvoStream
+ pkgver = 2.0.1.5649
+ pkgrel = 1
+ url = https://evostream.com/
+ arch = x86_64
+ arch = i686
+ license = custom
+ makedepends = poppler
+ 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
+ md5sums = 69d27f2a7265550598668ac64e995de8
+ md5sums = ee93910c6589b26c8eb056921f1944f8
+
+pkgname = evostream-libavbin
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4d2e7f225b2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.deb
+*.tar.xz
+*.pdf
+/pkg/
+/src/
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000000..8c50813e520
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+all:
+ make srcinfo
+ make build
+ make clean
+
+build:
+ makepkg -f
+
+srcinfo:
+ makepkg --printsrcinfo > .SRCINFO
+
+clean:
+ rm -rf pkg/ src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c0d7f0a8fdf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Tomasz Jakub Rup <tomasz.rup@gmail.com>
+pkgname=evostream-libavbin
+pkgver=2.0.1.5649
+pkgrel=1
+pkgdesc="libav project compiled by EvoStream"
+arch=('x86_64' 'i686')
+url="https://evostream.com/"
+license=('custom')
+makedepends=('poppler')
+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() {
+ 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
+
+ install -Dm644 "${srcdir}/Evostream-Media-Server-EULA-v2.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}