[arch-commits] Commit in stratisd/repos (2 files)
Jiachen Yang
farseerfc at archlinux.org
Sat Aug 17 06:13:58 UTC 2019
Date: Saturday, August 17, 2019 @ 06:13:57
Author: farseerfc
Revision: 499955
archrelease: copy trunk to community-testing-x86_64
Added:
stratisd/repos/community-testing-x86_64/
stratisd/repos/community-testing-x86_64/PKGBUILD
(from rev 499954, stratisd/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: stratisd/repos/community-testing-x86_64/PKGBUILD (from rev 499954, stratisd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2019-08-17 06:13:57 UTC (rev 499955)
@@ -0,0 +1,45 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: Dan Beste <dan.ray.beste at gmail.com>
+
+pkgname='stratisd'
+pkgver=1.0.5
+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=('062ff3fa7e0a0e9327dd9f9a86cbf71d8277b3d969880dc980dfb649032cfbcc')
+
+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.stratis1.service "${pkgdir}/usr/share/dbus-1/system-services/org.storage.stratis1.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