PKGBUILDs/qtutilities/default/PKGBUILD

34 lines
1.1 KiB
Bash
Raw Normal View History

2015-08-04 20:04:32 +02:00
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
2015-12-06 19:17:57 +01:00
_reponame=qtutilities
pkgname=qtutilities
pkgver=6.0.0
2018-09-26 16:58:30 +02:00
pkgrel=1
2018-11-01 05:16:53 +01:00
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
2016-09-11 23:37:58 +02:00
pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models'
license=('GPL')
2015-08-11 22:21:14 +02:00
depends=('c++utilities' 'qt5-base')
makedepends=('cmake' 'qt5-tools' 'mesa')
2016-09-11 23:37:58 +02:00
optdepends=("$pkgname-doc: API documentation")
2015-12-06 19:17:57 +01:00
url="https://github.com/Martchus/${_reponame}"
2018-09-26 16:58:30 +02:00
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
2019-03-07 13:51:10 +01:00
sha256sums=('f12204958d4181154fed7a9d027756cde6fe8a7b84f1c353b06c8c89abb542c5')
build() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
cmake \
-DCMAKE_BUILD_TYPE:STRING='Release' \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-DBUILD_SHARED_LIBS:BOOL=ON \
.
2015-12-24 16:50:30 +01:00
make
}
package() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
make DESTDIR="${pkgdir}" install
}