package.mk/bin/create-meta

21 lines
289 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
du_sk=`du -sk . | sed "s/[ \t].*//g"`
size=$(echo "$du_sk * 1024" | bc)
cat <<END
name = $name
version = $version
release = $release
size = $size
slot = $SLOT
url = $URL
description = $description
dependencies = $dependencies
conflicts = $conflicts
provides = $provides
END