summaryrefslogblamecommitdiff
path: root/user/lxqt-l10n/APKBUILD
blob: 0402b9027f99216cb1fdf613f80e05347757445d (plain) (tree)
1
2
3
4
5
6


                                                           
             
        
                                     































                                                                                                 
                                                                                                                                                                      
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=lxqt-l10n
pkgver=0.12.0
pkgrel=0
pkgdesc="Localization files for LXQt"
url="http://lxqt.org"
arch="noarch"
license="LGPL-2.1+"
depends=""
makedepends="cmake extra-cmake-modules qt5-qttools-dev liblxqt-dev libqtxdg-dev lxqt-build-tools"
install=""
subpackages=""
source="https://github.com/lxde/lxqt-l10n/releases/download/$pkgver/lxqt-l10n-$pkgver.tar.xz"
builddir="$srcdir/lxqt-l10n-$pkgver"
options="!check"

build() {
	cd "$builddir"
	if [ "$CBUILD" != "$CHOST" ]; then
		CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
	fi
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
		-DCMAKE_C_FLAGS="$CFLAGS" \
		${CMAKE_CROSSOPTS}
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="3012c25214e10bdbd262bd68a18c77eef6b2e5a0426ef82283150e4dd7b6f271080b95e4e7221235cf43fb430928359aeb95942a570e9ce8913ac5e61328efe9  lxqt-l10n-0.12.0.tar.xz"