diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 01:39:54 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 01:39:54 +0000 |
commit | 5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d (patch) | |
tree | 2b8febb001be429260957e56ae975964774f4aeb /user/trojita/APKBUILD | |
parent | 750ede08c898240f8c8c9e74277ca1580b3f10f3 (diff) | |
download | packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.gz packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.bz2 packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.xz packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.zip |
user/*: Modernise / fix syntax / metadata / deps
Diffstat (limited to 'user/trojita/APKBUILD')
-rw-r--r-- | user/trojita/APKBUILD | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/user/trojita/APKBUILD b/user/trojita/APKBUILD index 8f2088e88..c55e5453c 100644 --- a/user/trojita/APKBUILD +++ b/user/trojita/APKBUILD @@ -6,20 +6,18 @@ pkgrel=0 pkgdesc="Qt-based IMAP email client" url="http://trojita.flaska.net/" arch="all" -options="!check" license="(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1 WITH Nokia-Qt-exception-1.1 OR GPL-3.0-only) AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0+ AND LGPL-2.0-only AND LGPL-2.0+ AND LGPL-2.1+" depends="" -depends_dev="" +# Font required: https://github.com/qtwebkit/qtwebkit/issues/933 +checkdepends="ttf-liberation" makedepends="cmake extra-cmake-modules zlib-dev qt5-qtbase-dev qt5-qtwebkit-dev qt5-qttools-dev qt5-qtsvg-dev ragel mimetic-dev gpgme-dev - qtkeychain-dev $depends_dev" -install="" + qtkeychain-dev" source="https://sourceforge.net/projects/trojita/files/src/trojita-$pkgver.tar.xz use-qgpgme.patch fix-gpg.patch" build() { - cd "$builddir" if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi @@ -31,22 +29,15 @@ build() { -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ -DWITH_GPGMEPP=ON \ - ${CMAKE_CROSSOPTS} + ${CMAKE_CROSSOPTS} . make } check() { - cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } -check() { - cd "$builddir" - make check -} - package() { - cd "$builddir" make DESTDIR="$pkgdir" install } |