Skip to content

Instantly share code, notes, and snippets.

@graysky2
Created May 1, 2020
Embed
What would you like to do?
psd 6.39b2
pkgname=profile-sync-daemon
pkgver=6.39b2
pkgrel=1
pkgdesc="Symlinks and syncs browser profile dirs to RAM"
arch=('any')
url="https://github.com/graysky2/profile-sync-daemon"
license=('MIT')
depends=('bash' 'findutils' 'inetutils' 'procps-ng' 'rsync' 'systemd' 'glib2')
optdepends=('zsh-completions: for completion when using zsh')
source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz")
sha512sums=('10a61ed7052554519587b1a2b935273332c04ccce5569b9a5a7177d4f896347bfe557763edba026ba9eeee57ab30d63706bcf7695c7cfd4378f361af4d4f1c82')
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -vDm 644 MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment