blob: 7684d26de1eae02849c37b1daefd72b240186b2d (
plain) (
tree)
|
|
#!/bin/sh
PKG_FILE="index/$1.mk"
CONTENTS="PACKAGES += $1
pkg_$1_name = $1
pkg_$1_description = $6
pkg_$1_homepage = $5
pkg_$1_fetch = $2
pkg_$1_repo = $3
pkg_$1_commit = $4
"
COMMIT="Add package $1 to the index"
printf "$CONTENTS" > $PKG_FILE
git add $PKG_FILE
git commit -m "$COMMIT" $PKG_FILE
|