[arch-commits] Commit in liri-cmake-shared/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Mar 10 11:38:57 UTC 2020
Date: Tuesday, March 10, 2020 @ 11:38:56
Author: felixonmars
Revision: 593517
archrelease: copy trunk to community-any
Added:
liri-cmake-shared/repos/community-any/PKGBUILD
(from rev 593516, liri-cmake-shared/trunk/PKGBUILD)
Deleted:
liri-cmake-shared/repos/community-any/PKGBUILD
----------+
PKGBUILD | 59 ++++++++++++++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-10 11:38:41 UTC (rev 593516)
+++ PKGBUILD 2020-03-10 11:38:56 UTC (rev 593517)
@@ -1,29 +0,0 @@
-# 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/
-}
Copied: liri-cmake-shared/repos/community-any/PKGBUILD (from rev 593516, liri-cmake-shared/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-10 11:38:56 UTC (rev 593517)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=liri-cmake-shared
+pkgver=1.1.0
+pkgrel=2
+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() {
+ sed -i -e 's|/qml"|/qt/qml"|' -e 's|LIBDIR/qml|LIBDIR/qt/qml|' $pkgname-$pkgver/modules/LiriBuild.cmake
+ 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