[arch-commits] Commit in liri-cmake-shared/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Mar 10 11:06:56 UTC 2020


    Date: Tuesday, March 10, 2020 @ 11:06:55
  Author: felixonmars
Revision: 593511

archrelease: copy trunk to community-any

Added:
  liri-cmake-shared/repos/community-any/
  liri-cmake-shared/repos/community-any/PKGBUILD
    (from rev 593510, liri-cmake-shared/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: liri-cmake-shared/repos/community-any/PKGBUILD (from rev 593510, liri-cmake-shared/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-03-10 11:06:55 UTC (rev 593511)
@@ -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