[arch-commits] Commit in stratisd/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jiachen Yang
farseerfc at archlinux.org
Mon Dec 7 07:32:11 UTC 2020
Date: Monday, December 7, 2020 @ 07:32:10
Author: farseerfc
Revision: 771361
archrelease: copy trunk to community-x86_64
Added:
stratisd/repos/community-x86_64/PKGBUILD
(from rev 771360, stratisd/trunk/PKGBUILD)
Deleted:
stratisd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-07 07:31:42 UTC (rev 771360)
+++ PKGBUILD 2020-12-07 07:32:10 UTC (rev 771361)
@@ -1,56 +0,0 @@
-# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
-# Contributor: Dan Beste <dan.ray.beste at gmail.com>
-
-pkgname='stratisd'
-pkgver=2.2.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' 'clang')
-depends=('dbus' 'cryptsetup' 'util-linux-libs')
-optdepends=('stratis-cli: command line interface')
-checkdepends=('python-pyudev')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stratis-storage/stratisd/archive/v${pkgver}.tar.gz")
-b2sums=('e7c41ed6f8c358b9659142d7512975baa2d3fbfc79a2e6da59c5a79dde8ddbd65b00fcbce903d861178eac9cdccf98ca44b9ba3a4008ba3485fa4e70c4e09b7f')
-
-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 -m755 "target/release/stratis_dbusquery_version" "${pkgdir}/usr/bin/stratis_dbusquery_version"
- install -D -m755 "target/release/stratis_uuids_to_names" "${pkgdir}/usr/lib/udev/stratis_uuids_to_names"
- install -D -m755 "developer_tools/stratis_migrate_symlinks.sh" "${pkgdir}/usr/bin/stratis_migrate_symlinks.sh"
- install -D -m644 udev/11-stratisd.rules "${pkgdir}/usr/lib/udev/rules.d/11-stratisd.rules"
- 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 771360, stratisd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-07 07:32:10 UTC (rev 771361)
@@ -0,0 +1,56 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: Dan Beste <dan.ray.beste at gmail.com>
+
+pkgname='stratisd'
+pkgver=2.3.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' 'clang')
+depends=('dbus' 'cryptsetup' 'util-linux-libs')
+optdepends=('stratis-cli: command line interface')
+checkdepends=('python-pyudev')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stratis-storage/stratisd/archive/v${pkgver}.tar.gz")
+b2sums=('6ff63dad45c4a160017ece60dca399f3c9f635103576b0028b657e94dbf7e5156ae6a41cf417dd43a1eb3735eb728b1352b045185742a3de8b26b4bca833e144')
+
+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 -m755 "target/release/stratis_dbusquery_version" "${pkgdir}/usr/bin/stratis_dbusquery_version"
+ install -D -m755 "target/release/stratis_uuids_to_names" "${pkgdir}/usr/lib/udev/stratis_uuids_to_names"
+ install -D -m755 "developer_tools/stratis_migrate_symlinks.sh" "${pkgdir}/usr/bin/stratis_migrate_symlinks.sh"
+ install -D -m644 udev/11-stratisd.rules "${pkgdir}/usr/lib/udev/rules.d/11-stratisd.rules"
+ 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