desktop/injeqt/PKGBUILD

27 lines
680 B
Bash
Raw Normal View History

2015-03-02 19:44:33 +08:00
pkgname=injeqt
2016-08-03 02:54:39 +08:00
pkgver=1.1.0
2015-03-02 19:44:33 +08:00
pkgrel=1
pkgdesc='Dependency injection framework for Qt'
2015-05-05 00:57:49 +08:00
arch=('x86_64')
2015-03-02 19:44:33 +08:00
url='https://github.com/vogel/injeqt'
license=('LGPL2.1')
depends=('qt5-base')
makedepends=('cmake')
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
2016-08-03 02:54:39 +08:00
sha512sums=('f14661c75fb875a9cba3de37252ef4048971a9f12e3482a2e3fe9df01aef842746d51a1cc19343f9b959b29f465c3ab15790608a04375d707073741448ee8443')
2015-03-02 19:44:33 +08:00
build() {
cd $pkgname-$pkgver
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DDISABLE_EXAMPLES=ON \
-DDISABLE_TESTS=ON
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}