summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAinola2018-09-02 11:39:14 -0600
committerAinola2018-09-02 11:39:14 -0600
commit86c9be0db2c75b69348e2ebc4aa34c9e18b088b8 (patch)
treef96ba0c94bd7e2d136e5132563bb708f769b5716
downloadaur-86c9be0db2c75b69348e2ebc4aa34c9e18b088b8.tar.gz
initial
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD33
-rw-r--r--binkplayer.desktop12
-rw-r--r--binkplayer.pngbin0 -> 26867 bytes
-rw-r--r--x-binkvideo.xml8
5 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4830d88b107
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Sun Sep 2 17:38:52 UTC 2018
+pkgbase = binkplayer-bin
+ pkgdesc = Bink Video Player
+ pkgver = 2.7i
+ pkgrel = 2
+ url = http://www.radgametools.com/bnkmain.htm
+ arch = x86_64
+ license = custom
+ depends = libgl
+ depends = openal
+ source = BinkLinuxPlayer-2.7i.7z::http://www.radgametools.com/down/Bink/BinkLinuxPlayer.7z
+ source = x-binkvideo.xml
+ source = binkplayer.desktop
+ source = binkplayer.png
+ sha256sums = 3447ad1adebc74407e5f16742d4e786459048b4f710665f8c1be743286f52711
+ sha256sums = 880fcb3a4435750a2990af7b38dc26d81170487ae3f8ecb526aad5a17673a454
+ sha256sums = 1e3ac358afeff5d0f87ae4430d4d5ec21b2d45f9ac6ae6340d14b1e4280c18e6
+ sha256sums = db086749490f24bf3c736d75b4fb75a7c7bf5d7209b8f7b9394d6c59063c86c8
+
+pkgname = binkplayer-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2f194fe7f87
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Ainola
+# Contributor: Hugo Lobo
+
+pkgname=binkplayer-bin
+pkgver=2.7i
+pkgrel=2
+pkgdesc="Bink Video Player"
+url="http://www.radgametools.com/bnkmain.htm"
+arch=('x86_64')
+depends=('libgl' 'openal')
+# AUR helpers get confused with cached versions if the file name never changes.
+source=("BinkLinuxPlayer-$pkgver.7z::http://www.radgametools.com/down/Bink/BinkLinuxPlayer.7z"
+ "x-binkvideo.xml"
+ "binkplayer.desktop"
+ "binkplayer.png")
+sha256sums=('3447ad1adebc74407e5f16742d4e786459048b4f710665f8c1be743286f52711'
+ '880fcb3a4435750a2990af7b38dc26d81170487ae3f8ecb526aad5a17673a454'
+ '1e3ac358afeff5d0f87ae4430d4d5ec21b2d45f9ac6ae6340d14b1e4280c18e6'
+ 'db086749490f24bf3c736d75b4fb75a7c7bf5d7209b8f7b9394d6c59063c86c8')
+# License is unobtainable from their website - only custom contracts/license
+# agreements seem to be available.
+license=('custom')
+
+package() {
+ install -Dm755 "${srcdir}/BinkPlayer64" "${pkgdir}/usr/bin/binkplayer"
+
+ # Desktop integration
+ install -Dm644 "x-binkvideo.xml" -t "$pkgdir/usr/share/mime/video/"
+ install -Dm644 "binkplayer.desktop" -t "$pkgdir/usr/share/applications/"
+ install -Dm644 "binkplayer.png" -t "$pkgdir/usr/share/pixmaps/"
+}
+
+# vim: et sw=2 ts=2
diff --git a/binkplayer.desktop b/binkplayer.desktop
new file mode 100644
index 00000000000..a414251e08a
--- /dev/null
+++ b/binkplayer.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Bink Player
+Comment=Play video files typically used for Games
+Exec=/usr/bin/binkplayer %f
+Icon=binkplayer
+Terminal=false
+MimeType=video/x-binkvideo;
+# There isn't a way to launch just the player by itself. This .desktop file is
+# just to allow file association.
+NoDisplay=true
+Type=Application
+Categories=Audio;AudioVideo;Video;
diff --git a/binkplayer.png b/binkplayer.png
new file mode 100644
index 00000000000..5648ae3af14
--- /dev/null
+++ b/binkplayer.png
Binary files differ
diff --git a/x-binkvideo.xml b/x-binkvideo.xml
new file mode 100644
index 00000000000..6073e1f188c
--- /dev/null
+++ b/x-binkvideo.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="video/x-binkvideo">
+ <comment>Bink Video File</comment>
+ <glob pattern="*.bk2"/>
+ <glob pattern="*.bik"/>
+ </mime-type>
+</mime-info>