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

Jiachen Yang farseerfc at archlinux.org
Fri Jan 17 04:38:50 UTC 2020


    Date: Friday, January 17, 2020 @ 04:38:50
  Author: farseerfc
Revision: 552812

archrelease: copy trunk to community-x86_64

Added:
  stratisd/repos/community-x86_64/PKGBUILD
    (from rev 552811, stratisd/trunk/PKGBUILD)
Deleted:
  stratisd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 56 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-17 04:38:14 UTC (rev 552811)
+++ PKGBUILD	2020-01-17 04:38:50 UTC (rev 552812)
@@ -1,45 +0,0 @@
-# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
-# Contributor: Dan Beste <dan.ray.beste at gmail.com>
-
-pkgname='stratisd'
-pkgver=2.0.0
-pkgrel=1
-pkgdesc='Easy to use local storage management for Linux.'
-arch=('x86_64')
-url='https://stratis-storage.github.io/'
-license=('MPL2')
-makedepends=('asciidoc' 'cargo' 'rust')
-depends=('dbus')
-optdepends=('stratis-cli: command line interface')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stratis-storage/stratisd/archive/v${pkgver}.tar.gz")
-sha256sums=('d67d8bea566262cfc60a1596af98b3b7da5324b822a6c4d2f934794223766bf7')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-
-  # Release
-  make release
-  make stratisd.8
-
-  # patch systemd config
-  sed -i 's,/usr/libexec,/usr/bin,g' stratisd.service
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-
-  make test
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-
-  install -D -m755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-  install -D -m644 stratisd.service "${pkgdir}/usr/lib/systemd/system/stratisd.service"
-  install -D -m644 org.storage.stratis2.service "${pkgdir}/usr/share/dbus-1/system-services/org.storage.stratis2.service"
-  install -D -m644 stratisd.conf "${pkgdir}/usr/share/dbus-1/system.d/stratisd.conf"
-  install -D -m644 docs/stratisd.8 "${pkgdir}/usr/share/man/man8/stratisd.8"
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:

Copied: stratisd/repos/community-x86_64/PKGBUILD (from rev 552811, stratisd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-17 04:38:50 UTC (rev 552812)
@@ -0,0 +1,56 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: Dan Beste <dan.ray.beste at gmail.com>
+
+pkgname='stratisd'
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='Easy to use local storage management for Linux.'
+arch=('x86_64')
+url='https://stratis-storage.github.io/'
+license=('MPL2')
+makedepends=('asciidoc' 'cargo' 'rust')
+depends=('dbus')
+optdepends=('stratis-cli: command line interface')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stratis-storage/stratisd/archive/v${pkgver}.tar.gz"
+        "pr1704.patch::https://patch-diff.githubusercontent.com/raw/stratis-storage/stratisd/pull/1704.patch")
+sha256sums=('d67d8bea566262cfc60a1596af98b3b7da5324b822a6c4d2f934794223766bf7'
+            'ee019eaf9cd332094e822cd75714be6e3934e738574b13c918deb1c866794523')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  # patch double parens as in https://github.com/stratis-storage/stratisd/pull/1704
+  patch -Np1 -i ../pr1704.patch
+
+  # patch systemd config
+  sed -i 's,/usr/libexec,/usr/bin,g' stratisd.service
+  # patch dbus config
+  sed -i 's, --debug,,g' org.storage.stratis2.service
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  # Release
+  make release
+  make stratisd.8
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+
+  make test
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  install -D -m755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+  install -D -m644 stratisd.service "${pkgdir}/usr/lib/systemd/system/stratisd.service"
+  install -D -m644 org.storage.stratis2.service "${pkgdir}/usr/share/dbus-1/system-services/org.storage.stratis2.service"
+  install -D -m644 stratisd.conf "${pkgdir}/usr/share/dbus-1/system.d/stratisd.conf"
+  install -D -m644 docs/stratisd.8 "${pkgdir}/usr/share/man/man8/stratisd.8"
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list