diff options
author | LambdAurora | 2018-12-05 21:42:03 +0100 |
---|---|---|
committer | LambdAurora | 2018-12-05 21:42:03 +0100 |
commit | b18fcd7ccfeb59b4c422ef38dcf577e7d969b00b (patch) | |
tree | 13075e338e078056a0b5f9f56009f3998b9763ce | |
parent | 3d70fc7b42aee6b19691b3ed90a628c9f45837cf (diff) | |
download | aur-b18fcd7ccfeb59b4c422ef38dcf577e7d969b00b.tar.gz |
Added git submodules initialization.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = lambdacommon pkgdesc = A library written in C++ with common features. pkgver = 1.9.3 - pkgrel = 1 + pkgrel = 2 url = https://aperlambda.github.io/libraries/lambdacommon/ arch = i686 arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: LambdAurora <aurora42lambda@gmail.com> pkgname=lambdacommon pkgver=1.9.3 -pkgrel=1 +pkgrel=2 pkgdesc="A library written in C++ with common features." arch=('i686' 'x86_64' 'armv7h' 'aarch64') url="https://aperlambda.github.io/libraries/lambdacommon/" @@ -16,6 +16,7 @@ validpgpkeys=() build() { cd "$pkgname-$pkgver" + git submodule update --init cmake .\ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release @@ -29,6 +30,7 @@ check() { package() { cd "$pkgname-$pkgver" - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + # Install LICENSE in /usr/share/licenses is now useless because it's now included in install target in make. + #install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make DESTDIR="$pkgdir/" install } |