mirror of
https://aur.archlinux.org/wxwidgets-wayland-perf.git
synced 2024-12-22 16:30:15 +02:00
Install translations
This commit is contained in:
parent
59f69ed314
commit
83d3bf8e47
8
PKGBUILD
8
PKGBUILD
@ -4,7 +4,7 @@
|
|||||||
pkgbase=wxwidgets
|
pkgbase=wxwidgets
|
||||||
pkgname=(wxwidgets-gtk3 wxwidgets-qt5 wxwidgets-common)
|
pkgname=(wxwidgets-gtk3 wxwidgets-qt5 wxwidgets-common)
|
||||||
pkgver=3.2.0
|
pkgver=3.2.0
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://wxwidgets.org'
|
url='https://wxwidgets.org'
|
||||||
license=(custom:wxWindows)
|
license=(custom:wxWindows)
|
||||||
@ -51,6 +51,10 @@ build() {
|
|||||||
-DwxUSE_LIBMSPACK=ON \
|
-DwxUSE_LIBMSPACK=ON \
|
||||||
-DwxUSE_PRIVATE_FONTS=ON
|
-DwxUSE_PRIVATE_FONTS=ON
|
||||||
cmake --build build-qt5
|
cmake --build build-qt5
|
||||||
|
|
||||||
|
# Run configure to generate the Makefile, cmake doesn't install translations
|
||||||
|
cd wxWidgets-$pkgver
|
||||||
|
./configure --prefix=/usr
|
||||||
}
|
}
|
||||||
|
|
||||||
package_wxwidgets-common() {
|
package_wxwidgets-common() {
|
||||||
@ -62,6 +66,8 @@ package_wxwidgets-common() {
|
|||||||
DESTDIR="$pkgdir" cmake --install build-gtk3
|
DESTDIR="$pkgdir" cmake --install build-gtk3
|
||||||
rm -r "$pkgdir"/usr/{bin/wx-config,lib/{wx,libwx_gtk*}}
|
rm -r "$pkgdir"/usr/{bin/wx-config,lib/{wx,libwx_gtk*}}
|
||||||
install -Dm644 wxWidgets-$pkgver/wxwin.m4 -t "$pkgdir"/usr/share/aclocal
|
install -Dm644 wxWidgets-$pkgver/wxwin.m4 -t "$pkgdir"/usr/share/aclocal
|
||||||
|
# Install translations
|
||||||
|
make DESTDIR="$pkgdir" -C wxWidgets-$pkgver locale_install
|
||||||
|
|
||||||
install -Dm644 wxWidgets-$pkgver/docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
install -Dm644 wxWidgets-$pkgver/docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user