diff options
Diffstat (limited to 'libre/libretools/PKGBUILD')
-rw-r--r-- | libre/libretools/PKGBUILD | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD index afe8d1358..8e9612d73 100644 --- a/libre/libretools/PKGBUILD +++ b/libre/libretools/PKGBUILD @@ -1,7 +1,8 @@ # Maintainer: Joshua Haase <hahj87@gmail.com # Contributor: fauno <fauno@kiwwwi.com.ar> -pkgname=libretools +pkgbase=libretools +pkgname=(libretools libretools-pr) pkgver=$(date -u +%Y%m%d) pkgrel=1 pkgdesc="Scripts for easing Parabola's tasks" @@ -34,7 +35,7 @@ build() { ## Build } -package() { +package_libretools() { install -d ${pkgdir}/etc install -m644 ${_gitname}/libretools.conf ${pkgdir}/etc/ @@ -54,7 +55,6 @@ package() { install -m755 ${_gitname}/librechroot ${pkgdir}/usr/bin/ install -m755 ${_gitname}/librecommit ${pkgdir}/usr/bin/ install -m755 ${_gitname}/librediff ${pkgdir}/usr/bin/ - install -m755 ${_gitname}/libremakepkg ${pkgdir}/usr/bin/ install -m755 ${_gitname}/libremessages ${pkgdir}/usr/bin/ install -m755 ${_gitname}/librerelease ${pkgdir}/usr/bin/ install -m755 ${_gitname}/librerepkg ${pkgdir}/usr/bin @@ -67,4 +67,15 @@ package() { 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 +} + +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 +} |