[arch-commits] Commit in liri-files/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jul 8 09:06:27 UTC 2020


    Date: Wednesday, July 8, 2020 @ 09:06:27
  Author: felixonmars
Revision: 661286

archrelease: copy trunk to community-x86_64

Added:
  liri-files/repos/community-x86_64/PKGBUILD
    (from rev 661279, liri-files/trunk/PKGBUILD)
Deleted:
  liri-files/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++------------------------------
 1 file changed, 28 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-08 09:06:27 UTC (rev 661285)
+++ PKGBUILD	2020-07-08 09:06:27 UTC (rev 661286)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Riley Trautman <asonix.dev at gmail.com>
-# Contributor: Michael Spencer <sonrisesoftware at gmail.com>
-
-pkgname=liri-files
-pkgver=0.2.0
-pkgrel=3
-pkgdesc="The file manager for Liri"
-arch=("x86_64")
-url="https://github.com/lirios/files"
-license=("GPL")
-depends=('fluid' 'taglib')
-makedepends=('liri-qbs-shared' 'qt5-tools')
-replaces=('papyros-files')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lirios/files/archive/v$pkgver.tar.gz")
-sha256sums=('a3c03d078af5cdf53e621bb41f0c09ab33cc5dcd51d5d6317ba4f845a4399383')
-
-build() {
-  cd files-$pkgver
-  qbs setup-toolchains --type gcc /usr/bin/g++ gcc
-  qbs setup-qt /usr/bin/qmake-qt5 qt5
-  qbs config profiles.qt5.baseProfile gcc
-  qbs build --no-install -d build profile:qt5 modules.lirideployment.prefix:/usr \
-                                              modules.lirideployment.qmlDir:/usr/lib/qt/qml
-}
-
-package() {
-  cd files-$pkgver
-  qbs install -d build --no-build -v --install-root "$pkgdir" profile:qt5
-}

Copied: liri-files/repos/community-x86_64/PKGBUILD (from rev 661279, liri-files/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-08 09:06:27 UTC (rev 661286)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Riley Trautman <asonix.dev at gmail.com>
+# Contributor: Michael Spencer <sonrisesoftware at gmail.com>
+
+pkgname=liri-files
+pkgver=0.2.0.20200620
+_commit=7582252b229d71f896936deee9165a38ad468461
+pkgrel=1
+pkgdesc="The file manager for Liri"
+arch=("x86_64")
+url="https://github.com/lirios/files"
+license=("GPL")
+depends=('fluid' 'taglib')
+makedepends=('cmake' 'liri-cmake-shared' 'ninja' 'qt5-tools')
+replaces=('papyros-files')
+source=("https://github.com/lirios/files/archive/$_commit/$pkgname-$_commit.tar.gz")
+sha256sums=('6dfa6f4ce85863cb764d5ea251623700dd797db61ebfa09e81eda22eee1deee8')
+
+build() {
+  cd files-$_commit
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+  ninja
+}
+
+package() {
+  cd files-$_commit
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list