summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcalebmckay2020-12-21 17:28:55 -0600
committercalebmckay2020-12-21 17:28:55 -0600
commit46ca37a2c28de0d7e1b06d7c4a953c6c2909bc96 (patch)
tree1dc125ead439cecaae76a66dbd95b94bd87552f6 /PKGBUILD
parent2f920ddecd9b22d09c0cb39e09694ec927403cee (diff)
downloadaur-btrfsmaintenance.tar.gz
Now installs all expected services from source, just like btrfsmaintenance-git. Behavior should now be consistent
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 4 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0c15d2cfb9a..c4f77c0e810 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,24 +17,10 @@ sha256sums=('0de747e630155ecbc438dfac23ffee00cb3f2ee4d01bb67724ef81826709cacb')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
- install -dm 0755 "${pkgdir}/usr/lib/systemd/system"
- install -dm 0755 "${pkgdir}/etc/default"
- install -m 0644 sysconfig.btrfsmaintenance "${pkgdir}/etc/default/btrfsmaintenance"
-
- install -dm 0755 "${pkgdir}/usr/share/btrfsmaintenance"
- install -m 0755 btrfs-*.sh "${pkgdir}/usr/share/btrfsmaintenance/"
- install -m 0644 btrfsmaintenance-functions "${pkgdir}/usr/share/btrfsmaintenance/"
-
- # For cron mode
- install -m 0755 btrfsmaintenance-refresh-cron.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh"
-
- # For systemd
- install -m 0644 btrfsmaintenance-refresh.service "${pkgdir}/usr/lib/systemd/system/btrfsmaintenance-refresh.service"
- install -m 0644 btrfs-[^scrub]*.service "${pkgdir}/usr/lib/systemd/system/"
- install -m 0644 btrfs-[^scrub]*.timer "${pkgdir}/usr/lib/systemd/system/"
-
- install -m 0644 README.md "${pkgdir}/usr/share/btrfsmaintenance/README.md"
+ install -Dm644 sysconfig.btrfsmaintenance "$pkgdir/etc/default/btrfsmaintenance"
+ install -dm755 "$pkgdir/"{usr/lib/systemd/system,usr/share/btrfsmaintenance}
+ install -Dm755 btrfs-*.sh btrfsmaintenance-{functions,refresh-cron.sh,refresh.path} README.md "$pkgdir/usr/share/btrfsmaintenance"
+ install -Dm644 *.service *.timer "$pkgdir/usr/lib/systemd/system"
}
# vim:set ts=2 sw=2 et: