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

repo=ytnef
pkgname=lib${repo} # for SLACKDESC

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

hash=24fe30e592a7a840b415dbbc16ba47c7a882bb38
MD5SUM=b347f3ee49c853329744b771d9a3e8d1
hash7=${hash#???????}; hash7=${hash%$hash7}
fetch_date=2020.04
PKGVER=1.9.3.$fetch_date

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

PKGARCH=x86_64
PKGBUILD=1
BUNDLE=

SLACKREQ=''
SLACKDESC="$pkgname: $pkgname $PKGVER (MS-TNEF Stream Reader)
$pkgname: 
$pkgname: A tool and library to extract email attachments sent in MS-TNEF 
$pkgname: format, e.g. from MS Outlook.
$pkgname: 
$pkgname: https://github.com/Yeraze/ytnef
$pkgname: 
$pkgname: 
$pkgname: 
$pkgname: 
$pkgname: 
"

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

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	cd /tmp/ytnef* &&
	NOCONFIGURE=1 ./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}

# vim:ft=sh:

