Use "--skip-build" in package().

No need to build the package again when it has already been built
in build().
This commit is contained in:
Frederik “Freso” S. Olesen 2017-01-11 13:45:03 +01:00
parent d710fb8943
commit e3257abb2f
No known key found for this signature in database
GPG Key ID: 27628EAF5DC1403E

View File

@ -34,7 +34,7 @@ build() {
package() { package() {
cd ${srcdir}/beets cd ${srcdir}/beets
python setup.py install --root=${pkgdir} --optimize=1 python setup.py install --root=${pkgdir} --optimize=1 --skip-build
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} }