### this file is sourced not run
PKGVER=1.5.0
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=TLP-$PKGVER.tar.gz
MD5SUM=2f1cb91290ee7df54acf29ea8f780379
SRC_URL=https://github.com/linrunner/TLP/archive/refs/tags/$PKGVER.tar.gz
BUNDLE=

SLACKREQ=
SLACKDESC="tlp: tlp $PKGVER (Laptop Power Management Tool)
tlp: 
tlp: TLP is a feature-rich command line utility for Linux, saving laptop 
tlp: battery power without the need to delve deeper into technical details.
tlp:
tlp: This version is compatible with tlpui.
tlp: 
tlp: https://linrunner.de/tlp
tlp: https://github.com/linrunner/TLP/
tlp: 
tlp:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/TLP*
	sed -i -e "s|/lib/|/$LIBDIR/|; s|/var/lib64/tlp|/var/lib/tlp|" Makefile &&
	make install &&
	make install-man &&
	pkg_build_slackdesc
}


