summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-09-24 14:28:04 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-09-24 14:28:04 -0400
commitdc18ffffbe984210079b2921916f6bdf55281edf (patch)
treecd11f6ff2d3c824fa72d5213db7948b4af43facb /libre
parent92f96e03374d0a3b3fc337216a93d0e05c5fe28e (diff)
downloadabslibre-dc18ffffbe984210079b2921916f6bdf55281edf.tar.gz
abslibre-dc18ffffbe984210079b2921916f6bdf55281edf.tar.bz2
abslibre-dc18ffffbe984210079b2921916f6bdf55281edf.zip
libre/libretools: update
Diffstat (limited to 'libre')
-rwxr-xr-xlibre/libretools/PKGBUILD14
-rwxr-xr-xlibre/libretools/libretools.install4
2 files changed, 12 insertions, 6 deletions
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD
index ecbba4e47..7bd86a8f2 100755
--- a/libre/libretools/PKGBUILD
+++ b/libre/libretools/PKGBUILD
@@ -3,8 +3,8 @@
pkgbase=libretools
pkgname=(libretools libretools-pr libretools-mips64el)
-pkgver=20111231
-pkgrel=2
+pkgver=$(date -u +%Y%m%d)
+pkgrel=1
pkgdesc="Scripts for easing Parabola's tasks"
arch=('any')
url="http://parabolagnulinux.org"
@@ -12,7 +12,6 @@ license=('GPL3+')
depends=(openssh rsync git wget)
optdepends=('devtools: For chroot (libremkchroot, librechroot, libremakepkg)')
makedepends=(git)
-backup=(etc/libretools.conf)
install=libretools.install
source=()
md5sums=()
@@ -36,12 +35,11 @@ build() {
}
package_libretools() {
+ backup=(etc/libretools.conf)
- install -d ${pkgdir}/etc
+ install -d ${pkgdir}/etc/libretools.d
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
@@ -72,6 +70,8 @@ package_libretools() {
}
package_libretools-pr() {
+ backup=('etc/libretools.d/prtools.conf')
+
install -d ${pkgdir}/etc/libretools.d
install -m644 ${_gitname}/prtools/prtools.conf ${pkgdir}/etc/libretools.d
@@ -82,6 +82,8 @@ package_libretools-pr() {
}
package_libretools-mips64el() {
+ backup=('etc/libretools.d/mips64el.conf')
+
install -d ${pkgdir}/etc/libretools.d
install -m755 ${_gitname}/mips64el/mips64el.conf ${pkgdir}/etc/libretools.d
diff --git a/libre/libretools/libretools.install b/libre/libretools/libretools.install
index 6f8c09d5c..69a0f2467 100755
--- a/libre/libretools/libretools.install
+++ b/libre/libretools/libretools.install
@@ -1,3 +1,5 @@
+#!/bin/sh
+
# arg 1: the new package version
post_install() {
cat <<EOF
@@ -8,6 +10,7 @@ If you plan using fullpkg you should read http://wiki.parabolagnulinux.org/fullp
and install libretools-$arch if avaliable
EOF
+ update-cleansystem
}
## arg 1: the new package version
@@ -19,6 +22,7 @@ Check your /etc/libretools.conf
If using fullpkg, you should install libretools-$arch if avaliable
EOF
+ update-cleansystem
}
# vim:set ts=2 sw=2 et: