[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Mar 10 11:06:18 UTC 2020
Date: Tuesday, March 10, 2020 @ 11:06:18
Author: felixonmars
Revision: 593508
addpkg: liri-cmake-shared 1.1.0-1
Added:
liri-cmake-shared/
liri-cmake-shared/repos/
liri-cmake-shared/trunk/
liri-cmake-shared/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: liri-cmake-shared/trunk/PKGBUILD
===================================================================
--- liri-cmake-shared/trunk/PKGBUILD (rev 0)
+++ liri-cmake-shared/trunk/PKGBUILD 2020-03-10 11:06:18 UTC (rev 593508)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=liri-cmake-shared
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Extra imports and modules for Cmake"
+arch=('any')
+url='https://liri.io'
+license=('BSD')
+depends=('extra-cmake-modules')
+groups=('liri')
+source=("https://github.com/lirios/cmake-shared/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('f549cc4741e20df6f097960eef809c3119ef08b33194efee957b0c44ab9a1b79')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgver
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE.BSD -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list