diff options
author | neeshy | 2020-01-29 21:40:18 -0500 |
---|---|---|
committer | neeshy | 2020-01-29 21:40:18 -0500 |
commit | 2828014f70198e052903dcc8f332b92512954fd8 (patch) | |
tree | 6c7bd1aeb854aace3f96cd43dba84330a9a1d32d | |
download | aur-2828014f70198e052903dcc8f332b92512954fd8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3f993c415a41 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = webm + pkgdesc = Cross-platform command-line WebM converter + pkgver = 0.12.1 + pkgrel = 1 + url = https://github.com/Kagami/webm.py + arch = any + license = custom:CC0 + makedepends = python-setuptools + depends = python + depends = ffmpeg + optdepends = mpv: for interactive mode + source = https://github.com/Kagami/webm.py/archive/v0.12.1.tar.gz + sha256sums = 786244edc928583a49e210cbb5533d192bf9ad31bc82eb0a66d393964db119c8 + +pkgname = webm + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8c8a13afd8ff --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=webm +pkgver=0.12.1 +pkgrel=1 +pkgdesc="Cross-platform command-line WebM converter" +arch=('any') +url="https://github.com/Kagami/webm.py" +license=('custom:CC0') +depends=('python' 'ffmpeg') +optdepends=('mpv: for interactive mode') +makedepends=('python-setuptools') +source=("https://github.com/Kagami/webm.py/archive/v$pkgver.tar.gz") +sha256sums=('786244edc928583a49e210cbb5533d192bf9ad31bc82eb0a66d393964db119c8') + +build() { + cd "$srcdir/webm.py-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/webm.py-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |