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

# source: post BLFS 8.2 2018-07-31
TARBALL=lxtask-$PKGVER.tar.gz
MD5SUM=79b33358c0c113bc89e182a2a3efecd0
#SRC_URL=http://downloads.sourceforge.net/lxde/$TARBALL
SRC_URL=https://github.com/OpenHelios/lxtask-mirror/archive/641a664c7139bd5685f0af6fe6fa1eaa073e93d0.tar.gz
BUNDLE=

SLACKREQ='gtk2'
SLACKDESC="lxtask: lxtask $PKGVER (Task Manager)  
lxtask:  
lxtask: The LXTask package contains a lightweight and desktop-independent task 
lxtask: manager.  
lxtask: 
lxtask: 
lxtask: 
lxtask: 
lxtask: 
lxtask: 
lxtask:
"

### default pkg_download
### pkg_prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/lxtask* &&
	patch -Np1 -i ../pkg/lxtask-fix-show-full-cmdline.patch &&
	true
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/lxtask* &&
	
	./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	sed -i -e 's|Icon=.*|Icon=system-monitor|' \
	/usr/share/applications/lxtask.desktop
}
