Carla: fix python package, move .pc file to -devel
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
# Template file for 'Carla'
|
# Template file for 'Carla'
|
||||||
pkgname=Carla
|
pkgname=Carla
|
||||||
version=1.9.8
|
version=1.9.8
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
pycompile_module="carla_utils.py carla_backend.py"
|
||||||
|
pycompile_dirs="usr/share/carla"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="
|
makedepends="
|
||||||
python3-PyQt5-devel-tools python3-PyQt5 libmagic file-devel liblo-devel
|
python3-PyQt5-devel-tools python3-PyQt5 libmagic file-devel liblo-devel
|
||||||
@@ -36,7 +38,8 @@ pre_build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/usr/lib/python3{,.5}
|
vmkdir "$py3_sitelib"
|
||||||
|
mv ${DESTDIR}/usr/lib/python3/dist-packages/*.py "${DESTDIR}"/"$py3_sitelib"
|
||||||
vbin bin/carla-lv2-export
|
vbin bin/carla-lv2-export
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,5 +47,7 @@ Carla-devel_package() {
|
|||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/carla-lv2-export
|
vmove usr/bin/carla-lv2-export
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove usr/include
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user