summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 12511e5d96004c162d095857a97935e327eb020a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Mikhail Velichko <efklid at gmail dot com>
# Contributor: Librewish <librewish@gmail.com>
# Contributor: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>

pkgname=samba-support
pkgver=1
pkgrel=8
arch=('any')
url="https://wiki.archlinux.org/index.php/samba"
license=('GPL')
pkgdesc="Metapkg and configuration for Samba support"
depends=("avahi"
        "nss-mdns"
        "samba"
        "python-pysmbc")
source=('smb.conf')
backup=('etc/samba/smb.conf')
sha256sums=('b63df445136b07a48fec4b363e1c3dca5894cf60162af8c0c1305656cd69dcfd')
install=$pkgname.install

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