Date: Wednesday, December 9, 2020 @ 16:12:00 Author: farseerfc Revision: 772869
archrelease: copy trunk to community-x86_64 Added: stratisd/repos/community-x86_64/PKGBUILD (from rev 772868, stratisd/trunk/PKGBUILD) Deleted: stratisd/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 112 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-09 16:11:23 UTC (rev 772868) +++ PKGBUILD 2020-12-09 16:12:00 UTC (rev 772869) @@ -1,56 +0,0 @@ -# Maintainer: Jiachen YANG <farsee...@archlinux.org> -# Contributor: Dan Beste <dan.ray.be...@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: Copied: stratisd/repos/community-x86_64/PKGBUILD (from rev 772868, stratisd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-09 16:12:00 UTC (rev 772869) @@ -0,0 +1,56 @@ +# Maintainer: Jiachen YANG <farsee...@archlinux.org> +# Contributor: Dan Beste <dan.ray.be...@gmail.com> + +pkgname='stratisd' +pkgver=2.3.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' 'clang') +depends=('dbus' 'cryptsetup' 'util-linux-libs' 'clevis') +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: