summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b094397a02278aa68c9507cebd473bfae02b933b (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
26
27
28
29
30
# Maintainer: Robin Ekman < robin.seth.ekman [at] gmail [dot] com >

pkgname=oldfashiond
pkgver=0.1.4
pkgrel=1
pkgdesc=" Create gifs using two-pass encoding with ffmpeg "
url='https://github.com/rsekman/oldfashiond'
arch=('any')
license=('MIT')
depends=('python>=3.8' 'ffmpeg>=2.6')
optdepends=(
    'python-srt: srt support'
    'python-ass: ass support'
    'python-humanfriendly: nicer logs'
)
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('fca75f60f2b4081b3aaed0357327758357ecea541aad7b3eb56dfd6481b03553')

provides=("${pkgname}")

build() {
    cd "$pkgname-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$pkgname-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}