PKGBUILD 680 Bytes
Newer Older
1
pkgname=injeqt
gnastyle's avatar
gnastyle committed
2
pkgver=1.1.0
3 4
pkgrel=1
pkgdesc='Dependency injection framework for Qt'
gnastyle's avatar
gnastyle committed
5
arch=('x86_64')
6 7 8 9 10
url='https://github.com/vogel/injeqt'
license=('LGPL2.1')
depends=('qt5-base')
makedepends=('cmake')
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
gnastyle's avatar
gnastyle committed
11
sha512sums=('f14661c75fb875a9cba3de37252ef4048971a9f12e3482a2e3fe9df01aef842746d51a1cc19343f9b959b29f465c3ab15790608a04375d707073741448ee8443')
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

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
}