PKGBUILD 591 Bytes
Newer Older
Stefano Capitani's avatar
Stefano Capitani committed
1 2 3
# Maintainer: Stefano Capitani <stefanoatmanjarodotorg>

pkgname=manjaro-settings-samba
Stefano Capitani's avatar
Stefano Capitani committed
4
pkgver=20190709
5
pkgrel=1
Stefano Capitani's avatar
Stefano Capitani committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
pkgdesc="Adds a smb.conf file for Manjaro and enables samba"
arch=('any')
url="https://github.com/manjaro/packages-extra"
license=('GPL')
depends=('samba')
install=manjaro-settings-samba.install
backup=('etc/samba/smb.conf')
source=("smb.conf")
md5sums=('4ef6b075cb314caafbe99629d9da5855')

pkgver() {
	date +%Y%m%d
}

package() {
  	install -Dm644 smb.conf $pkgdir/etc/samba/smb.conf
  	mkdir -p $pkgdir/var/lib/samba/usershare
    chmod 1770 $pkgdir/var/lib/samba/usershare
}