aboutsummaryrefslogtreecommitdiff
path: root/thunar-shares-plugin/Pkgfile
blob: bfe3ab1a47fa0aeb84ec6238606004a396ae3e71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: plugin to quickly share a folder using Samba without requiring root access
# URL: https://docs.xfce.org/xfce/thunar/thunar-shares-plugin
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: thunar samba

name=thunar-shares-plugin
version=0.5.0
release=1
source=(http://archive.xfce.org/src/thunar-plugins/$name/${version%.*}/$name-$version.tar.xz)

build() {

  meson setup $name-$version build \
      --prefix=/usr \
      --sysconfdir=/etc \
      --libexecdir=/usr/lib \
      --buildtype=plain

  meson compile -C build
  DESTDIR=$PKG meson install -C build

  rm -rf $PKG/usr/share

}