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

# source: james
# release tarball
#PKGVER=0.651
#TARBALL=lrzip-$PKGVER.tar.xz
#MD5SUM=
#SRC_URL=https://github.com/ckolivas/lrzip/releases
BUNDLE=

# git-master tarball
PKGVER=0.651.2024.10 # release is two years behind master
MD5SUM=77f6f3c712a4c12aaf838008581cc525
hash=15f5621928016eaf54c30356a68f68744f3c0104
hash7=${hash#???????}; hash7=${hash%$hash7}
TARBALL=lrzip-$PKGVER.tar.gz
SRC_URL=https://github.com/ckolivas/lrzip/archive/$hash.tar.gz

SLACKDESC="lrzip: lrzip $PKGVER (Long Range ZIP)
lrzip: 
lrzip: A compression utility that excels at compressing large files (usually 
lrzip: > 10-50 MB). Larger files and/or more free RAM means that the utility 
lrzip: will be able to more effectively compress your files (ie: faster / 
lrzip: smaller size), especially if the filesize(s) exceed 100 MB. You can 
lrzip: either choose to optimise for speed (fast compression / 
lrzip: decompression) or size, but not both.
lrzip: 
lrzip: https://github.com/ckolivas/lrzip
lrzip:
"

### default pkg_download
### default pkgـprepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/lrzip* &&
	NOCONFIGURE=1 ./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}

