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

repo=gtk3_flat_grey_rounded
pkgname=gtk3_theme_flat_grey_rounded # for SLACKDESC

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

# [1] Master commit

hash=8cdd006370d920bd80c70bd770c0a6dd8afc96dc # 2021.10.25
MD5SUM=2c3e863bb097129f57360339a9a97923
hash7=${hash#???????}; hash7=${hash%$hash7}
PKGVER=2021.11

TARBALL=$pkgname-$PKGVER.tar.gz
SRC_URL=https://github.com/puppylinux-woof-CE/$repo/archive/$hash.tar.gz

# [2] Official release

#MD5SUM=
#PKGVER=

#TARBALL=$pkgname-$PKGVER.tar.gz
#SRC_URL=https://github.com/puppylinux-woof-CE/$repo/archive/$PKGVER.tar.gz

PKGARCH=noarch
PKGBUILD=1
BUNDLE=

SLACKREQ=''
SLACKDESC="$pkgname: $pkgname $PKGVER (GTK-3 theme)
$pkgname:
$pkgname: GTK-3 porting of the default Fatdog64-8xx GTK-2 theme.
$pkgname:
$pkgname:
$pkgname: License: GNU GPL2
$pkgname:
$pkgname:
$pkgname: https://github.com/puppylinux-woof-CE/gtk3_flat_grey_rounded
$pkgname:
$pkgname:
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/$repo-* &&
	patch -Np1 -i ../pkg/scrolled_window.patch &&
	true
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/$repo-* || return 1
	d=/usr/share/themes/Flat-grey-rounded
	mkdir -p "$d" &&
	cp -a src/gtk-3.0 src/index.theme "$d" &&
	pkg_build_slackdesc
}

# vim:ft=sh:

