### this file is sourced not run
PKGVER=1.6.16 # last GTK2 version
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=Thunar-$PKGVER.tar.bz2
MD5SUM=a98fed11d1a1c12974ed784c17af006c
SRC_URL=http://archive.xfce.org/src/xfce/thunar/1.6/$TARBALL
BUNDLE=

SLACKREQ='libxfce4-exo libxfce4-garcon libxfce4ui libxfconf libxfce4util gtk2'
SLACKDESC="thunar: thunar $PKGVER (XFCE File Manager)
thunar: 
thunar: Thunar is a modern file manager for the Xfce Desktop Environment. 
thunar: Thunar has been designed from the ground up to be fast and easy to 
thunar: use.
thunar: 
thunar: https://docs.xfce.org/xfce/thunar/start
thunar: 
thunar: 
thunar: 
thunar: 
"
SLACKSUG='xfce4-panel'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/Thunar* &&
	patch -Np1 -i ../pkg/fatdog-icons.patch &&
	patch -Np1 -i ../pkg/disable-root-warning.patch
}

### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf &&
	pkg_build_slackdesc &&

	# install extra icons needed by the app
	cp -a /tmp/pkg/icons/* /usr/share/icons/hicolor
}
