upg python-cairo
This commit is contained in:
parent
4ee7ce94ce
commit
408d1f7e64
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=python-cairo
|
||||
pkgver=1.23.0
|
||||
pkgrel=01
|
||||
pkgrel=02
|
||||
pkgdesc="Python bindings for the cairo graphics library"
|
||||
arch=('x86_64')
|
||||
url="https://pycairo.readthedocs.io/en/latest/"
|
||||
|
@ -29,6 +29,10 @@ build() {
|
|||
--prefix=/usr
|
||||
meson compile -C build
|
||||
|
||||
# compile Python bytecode
|
||||
python -m compileall -d / "$pkgdir"/usr/lib
|
||||
python -O -m compileall -d / "$pkgdir"/usr/lib
|
||||
|
||||
}
|
||||
|
||||
check() {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname=python-cairo
|
||||
pkgver=1.23.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Python bindings for the cairo graphics library"
|
||||
arch=('x86_64')
|
||||
url="https://pycairo.readthedocs.io/en/latest/"
|
||||
|
@ -29,4 +29,8 @@ check() {
|
|||
|
||||
package() {
|
||||
meson install -C build --destdir="$pkgdir"
|
||||
|
||||
# compile Python bytecode
|
||||
python -m compileall -d / "$pkgdir"/usr/lib
|
||||
python -O -m compileall -d / "$pkgdir"/usr/lib
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue