-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
22 lines (21 loc) · 856 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: rogersce <carl DOT rogers AT gmail DOT com>
pkgname='ramsync'
pkgver=1.0
pkgrel=1
pkgdesc='Links and syncs dirs to RAM'
arch=('any')
#url='https://wiki.archlinux.org/index.php/Ramsync'
license=('GPL')
depends=('rsync')
optdepends=('cron: allow hourly (default) or periodic syncs of tmpfs <--> HDD/SDD storage')
conflicts=('firefox-sync' 'firefox-tmpfs-daemon' 'chromium-tmpfs' 'tmpfs-store')
source="https://github.com/rogersce/ramsync/tarball/v$pkgver"
backup=("etc/$pkgname.conf")
sha256sums=('d3032c42903844580d101ee3dae056ca58b50d6a7bf1170cfb52bda66d55d9b5')
package() {
mv $srcdir/rogersce* $srcdir/$pkgname
cd $srcdir/$pkgname/src
install -Dm644 $pkgname.conf "$pkgdir/etc/$pkgname.conf"
install -Dm755 rc.$pkgname "$pkgdir/etc/rc.d/$pkgname"
install -Dm755 $pkgname.cron.hourly "$pkgdir/etc/cron.hourly/$pkgname-update"
}