summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeoh Han Hui2021-03-11 00:26:58 +0800
committerTeoh Han Hui2021-03-11 00:26:58 +0800
commit098990d2d1982f83e3997305cdd9e83cae9e70df (patch)
treeeb39edceecba94bfdb08409ce6d00ad2f835aaf3
downloadaur-098990d2d1982f83e3997305cdd9e83cae9e70df.tar.gz
Initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD36
-rw-r--r--avdump3.sh3
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3df8b9f97d4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = avdump3-bin
+ pkgdesc = AniDB video/audio codec identification utility (command line version)
+ pkgver = 8188_beta
+ pkgrel = 1
+ url = https://wiki.anidb.net/Avdump3
+ arch = any
+ license = MIT
+ license = unknown
+ makedepends = unzip
+ depends = dotnet-runtime
+ provides = avdump3
+ conflicts = avdump3
+ noextract = avdump3_8188_beta.zip
+ options = !strip
+ source = http://static.anidb.net/client/avdump3/avdump3_8188_beta.zip
+ source = avdump3_LICENSE-MIT::https://raw.githubusercontent.com/DvdKhl/AVDump3/master/LICENSE
+ source = avdump3.sh
+ sha256sums = 71eea7ca81733c2115eabe122c3b6105cc33419eefb0e45730039d00eae553dd
+ sha256sums = 97cb91cadbde7356e309613e2ed99cffcaf323197285d089e94dc5b6adbb603c
+ sha256sums = 3e3ebf6e5bfc3a1253b4248c1737063287c87b27d1ac2a93f9673bf32bae2991
+
+pkgname = avdump3-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..36fd9118884
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Teoh Han Hui <teohhanhui@gmail.com>
+
+_pkgname=avdump3
+pkgname=avdump3-bin
+pkgver=8188_beta
+pkgrel=1
+pkgdesc='AniDB video/audio codec identification utility (command line version)'
+arch=('any')
+url='https://wiki.anidb.net/Avdump3'
+license=('MIT' 'unknown')
+depends=('dotnet-runtime')
+makedepends=('unzip')
+provides=('avdump3')
+conflicts=('avdump3')
+options=('!strip')
+source=("http://static.anidb.net/client/${_pkgname}/${_pkgname}_${pkgver}.zip"
+ "${_pkgname}_LICENSE-MIT::https://raw.githubusercontent.com/DvdKhl/AVDump3/master/LICENSE"
+ "${_pkgname}.sh")
+noextract=("${_pkgname}_${pkgver}.zip")
+sha256sums=('71eea7ca81733c2115eabe122c3b6105cc33419eefb0e45730039d00eae553dd'
+ '97cb91cadbde7356e309613e2ed99cffcaf323197285d089e94dc5b6adbb603c'
+ '3e3ebf6e5bfc3a1253b4248c1737063287c87b27d1ac2a93f9673bf32bae2991')
+
+prepare() {
+ unzip -o "${_pkgname}_${pkgver}.zip" -d "${_pkgname}_${pkgver}"
+}
+
+package() {
+ install -d "${pkgdir}/opt/${_pkgname}"
+ install -d "${pkgdir}/usr/bin"
+ install -d "${pkgdir}/usr/share/licenses/${_pkgname}"
+
+ install -m644 "${_pkgname}_${pkgver}"/* -t "${pkgdir}/opt/${_pkgname}"
+ install -m755 "${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
+ install -m644 "${_pkgname}_LICENSE-MIT" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE-MIT"
+}
diff --git a/avdump3.sh b/avdump3.sh
new file mode 100644
index 00000000000..69196802305
--- /dev/null
+++ b/avdump3.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+AVDUMP3CL='/opt/avdump3/AVDump3CL.dll'
+exec dotnet "$AVDUMP3CL" "$@"