smlinux/net/mailcheck/smbuild

32 lines
864 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=mailcheck
version=1.91.2
build=1sml
homepage="http://mailcheck.sourceforge.net/"
download="https://sourceforge.net/projects/mailcheck/files/mailcheck/$version/mailcheck_$version.tar.gz"
desc="Utility to show read and unread emails inside user directories"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
make
install -Dm 755 mailcheck $pkg/usr/bin/mailcheck
install -Dm 644 mailcheckrc $pkg/etc/mailcheckrc
install -Dm 644 mailcheck.1 $pkg/usr/share/man/man1/mailcheck.1
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
e80980993dd430eb5f04b330906e764b163a60c353baf0d4ee92009be6014667cbc93124049e39ecdb45b0980bd4c5bf3b8310ab30d8bc93331c94569acbe6a4 mailcheck-1.91.2.tar.lz
"