### this file is sourced not run
PKGVER=1.1.23
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=doublecmd-$PKGVER.qt.x86_64.tar.xz
MD5SUM=0fd3c1cbb1003f742abea1e9a47d7fab
SRC_URL=https://github.com/doublecmd/doublecmd/releases/download/v$PKGVER/$TARBALL
BUNDLE=

SLACKREQ='qt5-common'
SLACKDESC="doublecmd: doublecmd $PKGVER (File manager)
doublecmd: 
doublecmd: Double Commander is a free cross-platform open source file manager 
doublecmd: with two panels side by side (or one above the other). It is inspired 
doublecmd: by Total Commander and features some innovative new ideas.
doublecmd: 
doublecmd: This is a re-packaged official binary.
doublecmd: 
doublecmd: https://github.com/doublecmd/doublecmd
doublecmd: 
doublecmd:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cp -a /tmp/doublecmd /opt/doublecmd-$PKGVER &&
	ln -svfn doublecmd-$PKGVER /opt/doublecmd &&

	# links, icons
	ln -sfnv /opt/doublecmd/doublecmd /usr/bin &&
	ln -sfnv /opt/doublecmd/doublecmd.png /usr/share/icons &&
	cp /tmp/pkg/doublecmd.desktop /usr/share/applications &&

	pkg_build_slackdesc
}


