From 854ef1ec25098322a4ad2c3444db51fb68f1eeb6 Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernández Date: Fri, 24 Jun 2011 17:15:33 -0500 Subject: Added cleansystem --- libre/libretools/PKGBUILD | 11 +++++++---- 1 file 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 -- cgit v1.2.3