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

# Note: requireq CMAKE to build
TARBALL=autochown-2018.tar.xz
MD5SUM=ed69f0e706b5ed0e9e171e1b0edbe958
SRC_URL=http://xyne.archlinux.ca/projects/autochown/src/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="autochownd: autochownd $PKGVER (Adjust file permissions automatically)  
autochownd:  
autochownd: Monitor multiple directories using glob patterns and automatically 
autochownd: adjust file ownership and permissions.  
autochownd: 
autochownd: 
autochownd: 
autochownd: 
autochownd: 
autochownd: 
autochownd:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
    export CFLAGS="-O2"
	export CXXFLAGS="-O2"
	pkg_build_cmake && pkg_build_slackdesc &&

	# install manpage
	cd /tmp/autochown* &&
	install -dm755 /usr/share/man/man1 &&
	gunzip -c man/autochown.1.gz > /usr/share/man/man1/autochown.1
}


