diff options
Diffstat (limited to 'libre/libretools')
-rw-r--r-- | libre/libretools/PKGBUILD | 31 |
1 files changed, 27 insertions, 4 deletions
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 <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 +}
\ No newline at end of file |