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

# source: james
# release tarball
#PKGVER=
#TARBALL=
#MD5SUM=
#SRC_URL=
#BUNDLE=

# git-master tarball
PKGVER=1.4.0.2022.01
MD5SUM=8337a0defc9df743b2877079c6ad1662
hash=791a06842529461a5fa9edfa28d5d031f28cbfc3
hash7=${hash#???????}; hash7=${hash%$hash7}
TARBALL=gtk-awf-$PKGVER-$hash7.tar.gz
SRC_URL=https://github.com/valr/awf/archive/$hash.tar.gz

SLACKREQ='gtk2 gtk3'
SLACKDESC="gtk3-awf: gtk3-awf $PKGVER (GTK2/GTK3 Widgets Preview)
gtk3-awf: 
gtk3-awf: This program shows all widgets from GTK2/GTK3 in a single window, and 
gtk3-awf: is useful to preview the impact of a theme. Included is GTK2 and GTK3 
gtk3-awf: version of the program (awf-gtk2 and awf-gtk3), and it also includes 
gtk3-awf: gtk3-chtheme, to change GTK+ 3 theme, which uses this as tool as its 
gtk3-awf: previewer.
gtk3-awf: 
gtk3-awf: https://github.com/valr/awf
gtk3-awf: 
gtk3-awf: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/awf* &&
	NOCONFIGURE=1 ./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc &&

	# our theme changer
	install -m755 /tmp/pkg/gtk3-chtheme /usr/bin &&

	true
}
