summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorneeshy2020-01-29 21:40:18 -0500
committerneeshy2020-01-29 21:40:18 -0500
commit2828014f70198e052903dcc8f332b92512954fd8 (patch)
tree6c7bd1aeb854aace3f96cd43dba84330a9a1d32d
downloadaur-2828014f70198e052903dcc8f332b92512954fd8.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3f993c415a4
--- /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 00000000000..8c8a13afd8f
--- /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"
+}