summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/libretools/PKGBUILD11
-rw-r--r--libre/libretools/libretools.install5
2 files changed, 10 insertions, 6 deletions
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD
index 7f859fa3f..a7024228a 100644
--- a/libre/libretools/PKGBUILD
+++ b/libre/libretools/PKGBUILD
@@ -23,7 +23,7 @@ build() {
## Git checkout
if [ -d $srcdir/${_gitname} ] ; then
msg "Git checkout: Updating existing tree"
- cd ${_gitname} && git pull origin
+ cd ${_gitname} && git pull ${_gitroot}
msg "Git checkout: Tree has been updated"
else
msg "Git checkout: Retrieving sources"
@@ -34,12 +34,14 @@ build() {
}
package() {
- install -d ${pkgdir}/usr/bin
- install -d ${pkgdir}/usr/sbin
- install -d ${pkgdir}/etc
+ install -d ${pkgdir}/etc
install -m644 ${_gitname}/libretools.conf ${pkgdir}/etc/
+ install -d ${pkgdir}/etc/libretools.d
+ install -m644 ${_gitname}/cleansystem ${pkgdir}/etc/libretools.d
+
+ install -d ${pkgdir}/usr/bin
install -m755 ${_gitname}/abslibre-commit ${pkgdir}/usr/bin
install -m755 ${_gitname}/add-mips64el ${pkgdir}/usr/bin
install -m755 ${_gitname}/aur ${pkgdir}/usr/bin
@@ -59,6 +61,7 @@ package() {
install -m755 ${_gitname}/toru ${pkgdir}/usr/bin
install -m755 ${_gitname}/updateabslibre ${pkgdir}/usr/bin
+ install -d ${pkgdir}/usr/sbin
install -m755 ${_gitname}/libremakepkg ${pkgdir}/usr/sbin/
} \ No newline at end of file
diff --git a/libre/libretools/libretools.install b/libre/libretools/libretools.install
index 8eea37689..f8f447e2f 100644
--- a/libre/libretools/libretools.install
+++ b/libre/libretools/libretools.install
@@ -1,4 +1,3 @@
-
# arg 1: the new package version
post_install() {
cat <<EOF
@@ -13,7 +12,9 @@ post_upgrade() {
cat <<EOF
Check your /etc/libretools.conf
-Make sure LIBREDESTDIR finish with "repo" instead of "free"
+Your REPOS array if using fullpkg should be:
+'core' 'extra' 'community' 'libre'
+
EOF
}