summaryrefslogtreecommitdiff
path: root/libre/libretools
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-24 17:15:33 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-24 17:15:33 -0500
commit854ef1ec25098322a4ad2c3444db51fb68f1eeb6 (patch)
tree4e958cd83e0158ddbfc85027f1b2d0f881237f6b /libre/libretools
parent1ae2620834322dc99e516bae97b601a6fea8eef5 (diff)
downloadabslibre-854ef1ec25098322a4ad2c3444db51fb68f1eeb6.tar.gz
abslibre-854ef1ec25098322a4ad2c3444db51fb68f1eeb6.tar.bz2
abslibre-854ef1ec25098322a4ad2c3444db51fb68f1eeb6.zip
Added cleansystem
Diffstat (limited to 'libre/libretools')
-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