### this file is sourced not run
# source: step

repo=sct
pkgname=${repo} # for SLACKDESC

# Uncomment either section [1] master commit or [2] official release below.

# [1] Master commit

#hash=f2aa7c80a8bb2af9c5755aedbcc594a841af6713
#MD5SUM=
#hash7=${hash#???????}; hash7=${hash%$hash7}
#PKGVER=1.9_${hash7}
#TARBALL=$repo-$hash.tar.gz
#SRC_URL=https://github.com/faf0/sct/archive/refs/$TARBALL

# [2] Official release

MD5SUM=5483876b5a7fb291a7d1aabac41d3c7f
PKGVER=1.9
TARBALL=$pkgname-$PKGVER.tar.gz
SRC_URL=https://github.com/faf0/sct/archive/refs/tags/$PKGVER.tar.gz

PKGARCH=x86_64
PKGBUILD=1
BUNDLE=

SLACKREQ='libX11 libXrandr'
SLACKDESC="$pkgname: yad $PKGVER git-$hash7 (set screen temperature)
$pkgname: 
$pkgname: Xsct (X11 set color temperature) is a UNIX tool which allows you to set the
$pkgname: color temperature of your screen. It is simpler than Redshift and f.lux.
$pkgname: 
$pkgname: License: PDM 1.0
$pkgname: 
$pkgname: https://github.com/faf0/sct
$pkgname: 
$pkgname: 
$pkgname: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package

### build
pkg_build() {
	cd /tmp/$repo-* || return 1
	make $MAKEFLAGS &&
	make install $MAKEINSTALLFLAGS &&
	pkg_build_slackdesc
}

# vim:ft=sh:

