summaryrefslogtreecommitdiff
path: root/libre/libretools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/libretools/PKGBUILD')
-rw-r--r--libre/libretools/PKGBUILD11
1 files changed, 7 insertions, 4 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