2018-09-02 23:29:38 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
|
|
pkgname=cmake-extras
|
2019-03-14 06:34:40 +00:00
|
|
|
pkgver=0_git20190219
|
|
|
|
_commit="365500ed7903180d034b64e06d0c0cdd9de2162f"
|
2018-09-02 23:29:38 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="A collection of add-ons for the CMake build tool"
|
|
|
|
url="https://github.com/ubports/cmake-extras"
|
|
|
|
arch="noarch"
|
|
|
|
license="GPL-3.0"
|
|
|
|
depends="cmake"
|
|
|
|
makedepends="cmake"
|
|
|
|
options="!check" # No testsuite
|
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/ubports/$pkgname/archive/$_commit.tar.gz
|
|
|
|
Use_gtest_cmake_from_mir.patch
|
|
|
|
qmlplugindump_path.patch"
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-03-14 06:34:40 +00:00
|
|
|
sha512sums="79c8224fd96368ca68534c90178c16178e668bc0655ea42d139fcee4a995c92bc9b6c20f2b6cd0df2bc38cc009f9e15306513d06a3f095c5f344994cae4cb01c cmake-extras-365500ed7903180d034b64e06d0c0cdd9de2162f.tar.gz
|
2018-09-02 23:29:38 +00:00
|
|
|
996334490e062868b2dd24a0d2d688d95877343ae2db6a06efc580d14ffe1d00f0c9277be0929b9c7c859aef2dea0be68ddc49a7495ad16eaa0a156838f8bca9 Use_gtest_cmake_from_mir.patch
|
|
|
|
e55bd3ae7372b33534d239f7e959af0eba5687aba0386613381e4f9fc840f89213f5ae92544b7e969943d46e815d49c66fd24c29c44fd4166bb3a6bf81e1ac7e qmlplugindump_path.patch"
|