pkgname=injeqt pkgver=1.1.0 pkgrel=1 pkgdesc='Dependency injection framework for Qt' arch=('x86_64') url='https://github.com/vogel/injeqt' license=('LGPL2.1') depends=('qt5-base') makedepends=('cmake') source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) sha512sums=('f14661c75fb875a9cba3de37252ef4048971a9f12e3482a2e3fe9df01aef842746d51a1cc19343f9b959b29f465c3ab15790608a04375d707073741448ee8443') 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 }