From e99a90fb121148ecfdd29c63446c42474c4e2433 Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernández Date: Thu, 7 Jul 2011 21:17:59 -0500 Subject: Commiting libre package libretools-20110708-1 --- libre/libretools/PKGBUILD | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) (limited to 'libre/libretools/PKGBUILD') diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD index a7024228a..9497bc480 100644 --- a/libre/libretools/PKGBUILD +++ b/libre/libretools/PKGBUILD @@ -1,14 +1,16 @@ # Maintainer: Joshua Haase -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 +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf