summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6e394a3c6997037ef9a22eb8341f78203be32319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: neeshy <neeshy@tfwno.gf>

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"
}