aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxqt-build-tools/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-10-11 14:12:23 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-10-11 14:14:15 +0200
commitefd00c5b6344af82f1475a2138cdfdda7844a415 (patch)
treee3fa95c9551483e26d4facea0807e8b5a9d46987 /testing/lxqt-build-tools/APKBUILD
parent8954ee8b7f4c09b650131aac170d876a18be8a96 (diff)
downloadaports-efd00c5b6344af82f1475a2138cdfdda7844a415.tar.bz2
aports-efd00c5b6344af82f1475a2138cdfdda7844a415.tar.xz
testing/lxqt-build-tools: new aport
Diffstat (limited to 'testing/lxqt-build-tools/APKBUILD')
-rw-r--r--testing/lxqt-build-tools/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/lxqt-build-tools/APKBUILD b/testing/lxqt-build-tools/APKBUILD
new file mode 100644
index 0000000000..a988a8ea21
--- /dev/null
+++ b/testing/lxqt-build-tools/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=lxqt-build-tools
+pkgver=0.4.0
+pkgrel=0
+pkgdesc="Various packaging tools and scripts for LXQt applications"
+url="http://lxqt.org"
+arch="all"
+license="LGPL2.1"
+depends=""
+makedepends="cmake qt5-qttools-dev"
+install=""
+options="!check"
+subpackages=""
+source="https://github.com/lxde/lxqt-build-tools/releases/download/$pkgver/lxqt-build-tools-$pkgver.tar.xz"
+builddir="$srcdir/lxqt-build-tools-$pkgver"
+
+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=Release \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d84cfce5db9520725e24855f99fb3125f19ff5dbac12ec6d283e9c4483497c675b32061cdea2eda533e57857be4a6eb6020049ae4f593ea61a321b2708604638 lxqt-build-tools-0.4.0.tar.xz"