summaryrefslogtreecommitdiff
path: root/libre/libretools
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-25 23:07:08 +0000
committerroot <root@rshg047.dnsready.net>2011-06-25 23:07:08 +0000
commit8999fa1750304fb2367fb7743e49e013405e88be (patch)
tree6d7215ded2da992cde7f24d17c16ff3288deeaf6 /libre/libretools
parent71f58605e914de11f3a9b7cc2f27b0c52fb8d4ba (diff)
Sat Jun 25 23:07:08 UTC 2011
Diffstat (limited to 'libre/libretools')
-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
}