Date: Thursday, February 13, 2020 @ 05:23:30
  Author: farseerfc
Revision: 569845

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  107 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 51 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-02-13 05:22:45 UTC (rev 569844)
+++ PKGBUILD    2020-02-13 05:23:30 UTC (rev 569845)
@@ -1,56 +0,0 @@
-# Maintainer: Jiachen YANG <farsee...@archlinux.org>
-# Contributor: Dan Beste <dan.ray.be...@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:

Copied: stratisd/repos/community-x86_64/PKGBUILD (from rev 569844, 
stratisd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-02-13 05:23:30 UTC (rev 569845)
@@ -0,0 +1,51 @@
+# Maintainer: Jiachen YANG <farsee...@archlinux.org>
+# Contributor: Dan Beste <dan.ray.be...@gmail.com>
+
+pkgname='stratisd'
+pkgver=2.0.1
+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";)
+b2sums=('86a2b2e58aed08ea34e1ddbc064ec4e4bfd3f4f4544d60ba580941b71e56b80b65c99852934b2c4826ed2cac073bb66dcd4dcf1d4ff243f38f026582eb7257b1')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  # 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:

Reply via email to