summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlb15
-rwxr-xr-xlibrerepkg4
-rwxr-xr-xmipsrelease1
3 files changed, 17 insertions, 3 deletions
diff --git a/lb b/lb
new file mode 100755
index 0000000..d4bd908
--- /dev/null
+++ b/lb
@@ -0,0 +1,15 @@
+#!/bin/bash
+# LibreTools wrapper
+# License: GPLv3
+
+source /etc/libretools.conf
+
+command=$1; shift
+
+[[ ! -f ~/l/libre${command} ]] && {
+ error "Command not found"
+}
+
+~/l/libre${command} $@
+
+exit $?
diff --git a/librerepkg b/librerepkg
index 79a3e1d..ba8dea1 100755
--- a/librerepkg
+++ b/librerepkg
@@ -55,6 +55,6 @@ stdnull "pushd ${tempdir}"
mv rePKGBUILD PKGBUILD
msg2 "Updating md5sums"
makepkg -g >> PKGBUILD
-msg "Repackaging using libremakepkg"
-sudo libremakepkg -cu -L
+msg "Repackaging using makepkg"
+makepkg -Lc
stdnull "popd ${tempdir}"
diff --git a/mipsrelease b/mipsrelease
index 925748f..400e9f1 100755
--- a/mipsrelease
+++ b/mipsrelease
@@ -4,7 +4,6 @@
source /etc/makepkg.conf
pushd ${PKGDEST} >/dev/null
-#TODO: repo-add should stage to a local db and not stage3
repo-add stage3.db.tar.gz $@
popd >/dev/null