diff options
author | Donald Webster | 2018-08-09 14:06:43 -0700 |
---|---|---|
committer | Donald Webster | 2018-08-09 14:06:43 -0700 |
commit | ada3d7e7a1347d429ea9274a53faaffd8f4f841a (patch) | |
tree | 769efef620a0e3ec122ed6ffd1d217d041f376e5 /PKGBUILD | |
parent | 88b1863a1c6228a83fd73c69874d85cbc457db75 (diff) | |
download | aur-ada3d7e7a1347d429ea9274a53faaffd8f4f841a.tar.gz |
Change to /run and rename tmpfile.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -6,7 +6,7 @@ pkgname=rslsync pkgver=2.6.0.1317 -pkgrel=1 +pkgrel=2 pkgdesc="Resilio Sync (ex:BitTorrent Sync) - automatically sync files via secure, distributed technology" license=("custom:resilio") arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') @@ -14,7 +14,7 @@ url="https://www.getsync.com" install=rslsync.install backup=('etc/rslsync.conf') conflicts=() -source=(rslsync.service rslsync_user.service rslsync.conf) +source=(rslsync.service rslsync_user.service rslsync.tmpfiles) source_arm=("rslsync_arm-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-arm/resilio-sync_arm.tar.gz") source_armv6h=("rslsync_arm-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-arm/resilio-sync_arm.tar.gz") source_armv7h=("rslsync_armhf-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-armhf/resilio-sync_armhf.tar.gz") @@ -23,7 +23,7 @@ source_i686=("rslsync_i386-${pkgver}.tar.gz::https://download-cdn.resilio.com/st source_x86_64=("rslsync_x64-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-x64/resilio-sync_x64.tar.gz") sha256sums=('4483cbe3fff81281666d8fbe8c9b8d7d27c38ba7a3d3752a865f1ab8c1f212db' 'ba4b0ee3303027122e67345d4bf852f911a56f213f98c9eaa198c69d903fd8a1' - '56a0523cdde9b6c1c469bbb29805d260972e8e1fc831e82863fd35d9e2f6c734') + '150408a99eea8082b1df115c2c836f4e8e68a85eba7cd56b5885ebd4e07dceda') sha256sums_i686=('1ab6eb8bc0dfed1b702aad75ac5c02de124ca6ba6f3c8162fa4119472e3523ab') sha256sums_x86_64=('5f73bfefeedf8e042d483d00aa4af93f09a5b7cbd1efaedcbc3a2b9662578100') sha256sums_arm=('e66a6f4380db09b2ea08d7e0f3722c0587317fac9c13558817af837a4c5bba7f') @@ -42,13 +42,13 @@ package() { | sed 's:/home/user/\.sync:/var/lib/rslsync:' \ | sed 's:\/\/ "pid_file": "pid_file":' \ | sed 's:\/\/ "storage_path": "storage_path":' \ - | sed 's/\/var\/run\/resilio\/resilio.pid/\/var\/run\/resilio\/resilio.pid/g' \ + | sed 's/\/var\/run\/resilio/\/run\/resilio/g' \ > "${pkgdir}"/etc/rslsync.conf chmod 644 "${pkgdir}"/etc/rslsync.conf # install systemd config files install -Dm644 "${srcdir}"/rslsync.service "${pkgdir}"/usr/lib/systemd/system/rslsync.service - install -Dm644 "${srcdir}"/rslsync.conf "${pkgdir}"/usr/lib/tmpfiles.d/rslsync.conf + install -Dm644 "${srcdir}"/rslsync.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/rslsync.conf install -Dm644 "${srcdir}"/rslsync_user.service "${pkgdir}"/usr/lib/systemd/user/rslsync.service # install license |