summaryrefslogtreecommitdiff
path: root/librerepkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-29 23:19:16 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-29 23:19:16 -0500
commit285ee68f879b655b50a7d8cb4d8c27c1fc82dd27 (patch)
treed45492c3cd14f23ece03deda2e89c6873f0479c2 /librerepkg
parentc7ec446aef83f99746cb6e1b8935b73e65bc0d8d (diff)
* librerepkg uses makepkg -p and source PKGBUILD
* rePKGBUILD.proto for /usr/share/pacman
Diffstat (limited to 'librerepkg')
-rwxr-xr-xlibrerepkg5
1 files changed, 2 insertions, 3 deletions
diff --git a/librerepkg b/librerepkg
index ba8dea1..11962ff 100755
--- a/librerepkg
+++ b/librerepkg
@@ -52,9 +52,8 @@ stdnull "tempdir=$(mktemp -d /tmp/$(basename $PWD).XXXXX)"
msg "Repackaging: $pkgname $pkgver-$pkgrel ($(date -u))"
cp ./* ${tempdir}/
stdnull "pushd ${tempdir}"
-mv rePKGBUILD PKGBUILD
msg2 "Updating md5sums"
-makepkg -g >> PKGBUILD
+makepkg -gp rePKGBUILD >> PKGBUILD
msg "Repackaging using makepkg"
-makepkg -Lc
+makepkg -Lcp rePKGBULD
stdnull "popd ${tempdir}"