summaryrefslogtreecommitdiff
path: root/libre/libretools/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
committerroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
commit43983783a3e8bf61896eb93a2858a14bbaf3a53b (patch)
treec3085b8900db730e945868819ed112708a661653 /libre/libretools/PKGBUILD
parent0e8166d926f929f470d01d5bc8c8823e094742da (diff)
Sun Jul 24 23:18:00 UTC 2011
Diffstat (limited to 'libre/libretools/PKGBUILD')
-rw-r--r--libre/libretools/PKGBUILD31
1 files changed, 27 insertions, 4 deletions
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD
index a7024228a..fd3ea4063 100644
--- a/libre/libretools/PKGBUILD
+++ b/libre/libretools/PKGBUILD
@@ -1,14 +1,16 @@
# Maintainer: Joshua Haase <hahj87@gmail.com
# Contributor: fauno <fauno@kiwwwi.com.ar>
-pkgname=libretools
+pkgbase=libretools
+pkgname=(libretools libretools-pr libretools-mips64el)
pkgver=$(date -u +%Y%m%d)
pkgrel=1
pkgdesc="Scripts for easing Parabola's tasks"
arch=('any')
url="http://parabolagnulinux.org"
license=('GPL3+')
-depends=(devtools git wget)
+depends=(openssh rsync git wget)
+optdepends=(devtools)
makedepends=(git)
backup=(etc/libretools.conf)
install=libretools.install
@@ -33,7 +35,7 @@ build() {
## Build
}
-package() {
+package_libretools() {
install -d ${pkgdir}/etc
install -m644 ${_gitname}/libretools.conf ${pkgdir}/etc/
@@ -49,6 +51,7 @@ package() {
install -m755 ${_gitname}/diff-unfree ${pkgdir}/usr/bin
install -m755 ${_gitname}/fullpkg ${pkgdir}/usr/bin
install -m755 ${_gitname}/is_built ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/lb ${pkgdir}/usr/bin
install -m755 ${_gitname}/librechroot ${pkgdir}/usr/bin/
install -m755 ${_gitname}/librecommit ${pkgdir}/usr/bin/
install -m755 ${_gitname}/librediff ${pkgdir}/usr/bin/
@@ -64,4 +67,24 @@ package() {
install -d ${pkgdir}/usr/sbin
install -m755 ${_gitname}/libremakepkg ${pkgdir}/usr/sbin/
-} \ No newline at end of file
+ install -d ${pkgdir}/usr/share/pacman
+ install -m755 ${_gitname}/rePKGBUILD.proto ${pkgdir}/usr/share/pacman
+}
+
+package_libretools-pr() {
+ install -d ${pkgdir}/etc/libretools.d
+ install -m644 ${_gitname}/prtools.conf ${pkgdir}/etc/libretools.d
+
+ install -d ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/prfullpkg ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/prmipsrelease ${pkgdir}/usr/bin
+}
+
+package_libretools-mips64el() {
+ install -d ${pkgdir}/etc/libretools.d
+ install -m755 ${_gitname}/mips64el/mips64el.conf ${pkgdir}/etc/libretools.d
+
+ install -d ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/mips64el/mips-add ${pkgdir}/usr/bin
+ install -m755 ${_gitname}/mips64el/mipsrelease ${pkgdir}/usr/bin
+}