summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3de2943d9b24607a5003624b8b983852a226129 (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: Bastien Traverse <neitsab at esrevart dot net>

pkgname=autotranscode
pkgver=0.9.8
pkgrel=1
pkgdesc="A simple, fast and reliable music library transcoder"
arch=('any')
url="https://pypi.org/project/autotranscode/"
license=('GPL3')
depends=('python-tqdm' 'ffmpeg')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('84aec4c3660a36211752f167e9fc3609')

build() {
    cd "${pkgname}-${pkgver}"
    python setup.py build
}

package() {
    cd "${pkgname}-${pkgver}"
    python setup.py install --root="$pkgdir" --optimize=1
    install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
}