diff options
author | Jens John | 2018-02-11 15:03:25 +0100 |
---|---|---|
committer | Jens John | 2018-02-11 15:03:25 +0100 |
commit | 766ece4447e2296c7c55a7c723bef6ff8af3a26f (patch) | |
tree | 1ac99a73213b1518d1c802274d5ee6a918ec800f | |
download | aur-766ece4447e2296c7c55a7c723bef6ff8af3a26f.tar.gz |
6714-1
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | avdump2 | 3 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ed1b9a58d182 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = avdump2-bin + pkgdesc = AniDB video/audio codec identification utility (command line version) + pkgver = 6714 + pkgrel = 1 + url = https://wiki.anidb.net/w/Avdump2 + arch = any + license = UNKNOWN + makedepends = unrar + depends = mono + provides = avdump2 + noextract = avdump2_6714.rar + source = https://static.anidb.net/client/avdump2/avdump2_6714.rar + source = avdump2 + sha512sums = d4714f2d5599437b6cf9fdb52da21104e26b031231c2fd937579ed14835b9baa3bc2495b68324e82f7f9c148b4f8df5b7a2fb831d939be7db1e6263aa3814338 + sha512sums = SKIP + +pkgname = avdump2-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..750577560a31 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: 2ion +pkgname=avdump2-bin +pkgver=6714 +pkgrel=1 +pkgdesc="AniDB video/audio codec identification utility (command line version)" +arch=('any') +url="https://wiki.anidb.net/w/Avdump2" +license=('UNKNOWN') +depends=('mono') +makedepends=('unrar') +provides=('avdump2') +_archive="avdump2_${pkgver}.rar" +source=("https://static.anidb.net/client/avdump2/${_archive}" \ + 'avdump2') +noextract=("$_archive") +sha512sums=('d4714f2d5599437b6cf9fdb52da21104e26b031231c2fd937579ed14835b9baa3bc2495b68324e82f7f9c148b4f8df5b7a2fb831d939be7db1e6263aa3814338' \ + 'SKIP') + +prepare() { + cd "$srcdir" + unrar e "$_archive" "./$pkgver/" +} + +package() { + cd "$srcdir/$pkgver" + install -m 755 -d "$pkgdir"/opt/avdump2 + install -m 644 -t "$pkgdir"/opt/avdump2 -- * + install -Dm 755 "$srcdir"/avdump2 "$pkgdir"/usr/bin/avdump2 +} diff --git a/avdump2 b/avdump2 new file mode 100644 index 000000000000..bce522f57a39 --- /dev/null +++ b/avdump2 @@ -0,0 +1,3 @@ +#!/bin/bash +AVDUMP2CL="/opt/avdump2/AVDump2CL.exe" +exec mono --desktop "$AVDUMP2CL" "$@" |