blob: 616be857afeebb616fdf4b463d49585411bc91cc (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=pcmanfm-qt
pkgver=0.11.3
pkgrel=0
pkgdesc="File manager and desktop icon manager for LXQt"
url="http://lxqt.org"
arch="all"
license="GPL-2.0+"
depends=""
depends_dev=""
makedepends="cmake extra-cmake-modules lxqt-build-tools libfm-qt-dev liblxqt-dev qt5-qtx11extras-dev qt5-qttools-dev kwindowsystem-dev $depends_dev"
install=""
subpackages="$pkgname-doc"
source="https://github.com/lxde/pcmanfm-qt/releases/download/$pkgver/pcmanfm-qt-$pkgver.tar.xz
pcmanfm-qt-0.11.3-const-iterator-fixes.patch"
builddir="$srcdir/pcmanfm-qt-$pkgver"
# no tests
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" \
-DPULL_TRANSLATIONS=False \
${CMAKE_CROSSOPTS}
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="168012e022da30d4c2821e34f47372fae421b8b400cc3b2b0c16046f31bbdcb08814d0dd2ea2f0b615fafee4ac8af53ffa5fc0ceb170ccaa29468eec8b30de6d pcmanfm-qt-0.11.3.tar.xz
127eca77c12c2b32b6106ae71b306d8d5fd85d8a2a3c25742f230054cfd7940f43f8d7dda5cc8009cae12a46adb62a6037af9dea0bb00b36b680d249b9e3278c pcmanfm-qt-0.11.3-const-iterator-fixes.patch"
|