summaryrefslogtreecommitdiff
path: root/libre/libretools
diff options
context:
space:
mode:
Diffstat (limited to 'libre/libretools')
-rw-r--r--libre/libretools/PKGBUILD23
-rw-r--r--libre/libretools/libretools.install4
2 files changed, 18 insertions, 9 deletions
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD
index ecbba4e47..d06832782 100644
--- a/libre/libretools/PKGBUILD
+++ b/libre/libretools/PKGBUILD
@@ -2,9 +2,9 @@
# Contributor: fauno <fauno@kiwwwi.com.ar>
pkgbase=libretools
-pkgname=(libretools libretools-pr libretools-mips64el)
-pkgver=20111231
-pkgrel=2
+pkgname=(libretools libretools-mips64el)
+pkgver=$(date -u +%Y%m%d)
+pkgrel=1
pkgdesc="Scripts for easing Parabola's tasks"
arch=('any')
url="http://parabolagnulinux.org"
@@ -29,7 +29,7 @@ build() {
msg "Git checkout: Tree has been updated"
else
msg "Git checkout: Retrieving sources"
- git clone ${_gitroot}
+ git clone ${_gitroot}
fi
msg "Checkout completed"
## Build
@@ -41,7 +41,7 @@ package_libretools() {
install -m644 ${_gitname}/libretools.conf ${pkgdir}/etc/
install -d ${pkgdir}/etc/libretools.d
- install -m644 ${_gitname}/cleansystem ${pkgdir}/etc/libretools.d
+ touch ${pkgdir}/etc/libretools.d/cleansystem
install -d ${pkgdir}/usr/bin
install -m755 ${_gitname}/abslibre-commit ${pkgdir}/usr/bin
@@ -50,8 +50,12 @@ package_libretools() {
install -m755 ${_gitname}/createworkdir ${pkgdir}/usr/bin/
install -m755 ${_gitname}/diff-unfree ${pkgdir}/usr/bin
install -m755 ${_gitname}/fullpkg ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/fullpkg-find ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/fullpkg-build ${pkgdir}/usr/bin
install -m755 ${_gitname}/is_built ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/is_unfree ${pkgdir}/usr/bin
install -m755 ${_gitname}/lb ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/libreaddiff ${pkgdir}/usr/bin
install -m755 ${_gitname}/librechroot ${pkgdir}/usr/bin/
install -m755 ${_gitname}/librecommit ${pkgdir}/usr/bin/
install -m755 ${_gitname}/librediff ${pkgdir}/usr/bin/
@@ -61,14 +65,19 @@ package_libretools() {
install -m755 ${_gitname}/librerepkg ${pkgdir}/usr/bin
install -m755 ${_gitname}/librestage ${pkgdir}/usr/bin/
install -m755 ${_gitname}/pkgbuild-check-nonfree ${pkgdir}/usr/bin/
- install -m755 ${_gitname}/toru ${pkgdir}/usr/bin
install -m755 ${_gitname}/updateabslibre ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/update-cleansystem ${pkgdir}/usr/bin
install -d ${pkgdir}/usr/sbin
install -m755 ${_gitname}/libremakepkg ${pkgdir}/usr/sbin/
-
+
install -d ${pkgdir}/usr/share/pacman
install -m755 ${_gitname}/rePKGBUILD.proto ${pkgdir}/usr/share/pacman
+
+ install -m755 ${_gitname}/toru ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/toru-path ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/toru-utils ${pkgdir}/usr/bin
+ install -d -m 775 --group=users /var/lib/libretools/toru
}
package_libretools-pr() {
diff --git a/libre/libretools/libretools.install b/libre/libretools/libretools.install
index 6f8c09d5c..163956024 100644
--- a/libre/libretools/libretools.install
+++ b/libre/libretools/libretools.install
@@ -1,5 +1,6 @@
# arg 1: the new package version
post_install() {
+ update-cleansystem
cat <<EOF
Please check http://wiki.parabolagnulinux.org/Package_maintainer_guide
and follow instructions there before using libretools.
@@ -13,11 +14,10 @@ EOF
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
+ update-cleansystem
cat <<EOF
Check your /etc/libretools.conf
-If using fullpkg, you should install libretools-$arch if avaliable
-
EOF
}