Date: Wednesday, October 14, 2020 @ 05:56:39 Author: farseerfc Revision: 723869
archrelease: copy trunk to community-x86_64 Added: stratisd/repos/community-x86_64/PKGBUILD (from rev 723868, stratisd/trunk/PKGBUILD) Deleted: stratisd/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 108 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 56 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-14 05:56:02 UTC (rev 723868) +++ PKGBUILD 2020-10-14 05:56:39 UTC (rev 723869) @@ -1,52 +0,0 @@ -# Maintainer: Jiachen YANG <farsee...@archlinux.org> -# Contributor: Dan Beste <dan.ray.be...@gmail.com> - -pkgname='stratisd' -pkgver=2.2.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=('99708f4d0a44a4c1ec9487bb938fd4136dc30c34ff2d93186e662ee0586cd5e860ef85315c7bcc46799e398aaa580da5e4188b00b2306278370d9c094828b003') - -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: Copied: stratisd/repos/community-x86_64/PKGBUILD (from rev 723868, stratisd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-14 05:56:39 UTC (rev 723869) @@ -0,0 +1,56 @@ +# Maintainer: Jiachen YANG <farsee...@archlinux.org> +# Contributor: Dan Beste <dan.ray.be...@gmail.com> + +pkgname='stratisd' +pkgver=2.2.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') +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=('99708f4d0a44a4c1ec9487bb938fd4136dc30c34ff2d93186e662ee0586cd5e860ef85315c7bcc46799e398aaa580da5e4188b00b2306278370d9c094828b003') + +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: