diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-06-15 21:02:40 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-06-15 21:02:40 +0000 |
commit | 50113f4d75b010cf767ed0bcf9d39f7abe678f41 (patch) | |
tree | 87ddeaae5e999efd5ea611ba2e6722f9265f3af3 /user/lxqt-archiver/APKBUILD | |
parent | 00232199464eaa13cd475988b17886a7635e8758 (diff) | |
parent | 635178f5caa29f35e6f330726c5f3948a99b09a5 (diff) | |
download | packages-50113f4d75b010cf767ed0bcf9d39f7abe678f41.tar.gz packages-50113f4d75b010cf767ed0bcf9d39f7abe678f41.tar.bz2 packages-50113f4d75b010cf767ed0bcf9d39f7abe678f41.tar.xz packages-50113f4d75b010cf767ed0bcf9d39f7abe678f41.zip |
Merge branch 'bumps.aerdan.20200611' into 'master'
Bumps for packages owned by Kiyoshi Aman for 11 June 2020
See merge request adelie/packages!461
Diffstat (limited to 'user/lxqt-archiver/APKBUILD')
-rw-r--r-- | user/lxqt-archiver/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/user/lxqt-archiver/APKBUILD b/user/lxqt-archiver/APKBUILD new file mode 100644 index 000000000..527fbdf01 --- /dev/null +++ b/user/lxqt-archiver/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house> +# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house> +pkgname=lxqt-archiver +pkgver=0.2.0 +_lxqt=0.15.0 +_lxqt_build=0.7.0 +pkgrel=0 +pkgdesc="Archive management utility for the LXQt desktop" +url="https://lxqt.org" +arch="all" +options="!check" # No test suite +license="GPL-2.0+" +depends="" +makedepends="cmake extra-cmake-modules json-glib-dev libfm-qt-dev>=$_lxqt + lxqt-build-tools>=$_lxqt_build qt5-qttools-dev qt5-qtx11extras-dev" +source="https://github.com/lxqt/lxqt-archiver/releases/download/$pkgver/lxqt-archiver-$pkgver.tar.xz" +builddir="$srcdir/$pkgname-$pkgver/build" + +prepare() { + mkdir -p "$builddir" && cd "$builddir"/.. + default_prepare +} + +build() { + 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 +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest .. +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="478a04d0e6e4601dc342ae260c5db4178b01191cae263154dbe400b394e5cd4cb9cd8a6bab7e7c59af57d6bf20c47a5ad2663a85d0eab5f71fbaf584f7588fd7 lxqt-archiver-0.2.0.tar.xz" |