diff options
Diffstat (limited to 'libre/libretools-legacy/PKGBUILD')
-rw-r--r-- | libre/libretools-legacy/PKGBUILD | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/libre/libretools-legacy/PKGBUILD b/libre/libretools-legacy/PKGBUILD new file mode 100644 index 000000000..59e383449 --- /dev/null +++ b/libre/libretools-legacy/PKGBUILD @@ -0,0 +1,100 @@ +# Maintainer: Márcio Silva <coadde@lavabit.com> +# Maintainer: Joshua Haase <hahj87@gmail.com +# Contributor: fauno <fauno@kiwwwi.com.ar> + +pkgbase=libretools +pkgname=(libretools-legacy libretools-legacy-pr libretools-legacy-mips64el) +pkgver=20120924 +pkgrel=1 +pkgdesc="Programs for Parabola development (legacy)" +arch=('any') +url="http://parabolagnulinux.org" +license=('GPL3+') +depends=(openssh rsync git wget devtools-legacy) +install=libretools-legacy.install +source=(https://projects.parabolagnulinux.org/$pkgbase.git/snapshot/$pkgbase-v$pkgver.tar) +md5sums=(dfb8cb24d3deda29178d0fdc20b0e4bd) +conflicts=libretools + +package_libretools-legacy() { + backup=(etc/libretools.conf) + + cd $srcdir/$pkgbase-v$pkgver + + # fixing librebasebuilder librechroot libremakepkg !!!NEED MORE PATCH for makechrootpkg -d and mkarchroot -n!!! + # more info in: + # https://projects.archlinux.org/devtools.git/commit/?id=abba9f07a6d703cd97fc2d2bbd397072d5bf796d + # https://projects.archlinux.org/devtools.git/commit/?id=453558c4bb44b4bff43fcd22f96d4cfe1dbcf6f1 + #sed -i 's|makechrootpkg -d -r "$CHROOTDIR" -l "$CHROOT" -- $MAKEPKG_ARGS|makechrootpkg -r "$CHROOTDIR" -l "$CHROOT" -- $MAKEPKG_ARGS|; + # s|mkarchroot -n|mkarchroot|; + # s|mkarchroot -r "/clean" "${CHROOTDIR}/${CHROOTNAME}"|arch-nspawn "${CHROOTDIR}/${CHROOTNAME}" "/clean"|; + # s|mkarchroot -r "bash" "${CHROOTDIR}/${CHROOTNAME}"|arch-nspawn "${CHROOTDIR}/${CHROOTNAME}" "bash"|; + # s|mkarchroot -u "${CHROOTDIR}/${CHROOTNAME}"|arch-nspawn "${CHROOTDIR}/${CHROOTNAME}" pacman -Syu --noconfirm|; + # ' librebasebuilder librechroot libremakepkg + + install -d ${pkgdir}/etc/libretools.d + install -m644 libretools.conf ${pkgdir}/etc/ + + install -d ${pkgdir}/usr/bin + install -m755 abslibre-commit ${pkgdir}/usr/bin + install -m755 add-mips64el ${pkgdir}/usr/bin + install -m755 aur ${pkgdir}/usr/bin + install -m755 buildenv ${pkgdir}/usr/bin + install -m755 chcleanup ${pkgdir}/usr/bin + install -m755 createworkdir ${pkgdir}/usr/bin + install -m755 diff-unfree ${pkgdir}/usr/bin + install -m755 fullpkg ${pkgdir}/usr/bin + install -m755 fullpkg-build ${pkgdir}/usr/bin + install -m755 fullpkg-find ${pkgdir}/usr/bin + install -m755 is_built ${pkgdir}/usr/bin + install -m755 is_unfree ${pkgdir}/usr/bin + install -m755 lb ${pkgdir}/usr/bin + install -m755 libreaddiff ${pkgdir}/usr/bin + install -m755 librebasebuilder ${pkgdir}/usr/bin + install -m755 librechroot ${pkgdir}/usr/bin + install -m755 librecommit ${pkgdir}/usr/bin + install -m755 librediff ${pkgdir}/usr/bin + install -m755 libremakepkg ${pkgdir}/usr/bin + install -m755 libremessages ${pkgdir}/usr/bin + install -m755 libremkchroot ${pkgdir}/usr/bin + install -m755 librerelease ${pkgdir}/usr/bin + install -m755 librerepkg ${pkgdir}/usr/bin + install -m755 librestage ${pkgdir}/usr/bin + install -m755 pkgbuild-check-nonfree ${pkgdir}/usr/bin + install -m755 toru ${pkgdir}/usr/bin + install -m755 toru-path ${pkgdir}/usr/bin + install -m755 toru-utils ${pkgdir}/usr/bin + install -m755 toru-where ${pkgdir}/usr/bin + install -m755 updateabslibre ${pkgdir}/usr/bin + install -m755 update-cleansystem ${pkgdir}/usr/bin + + install -d ${pkgdir}/usr/share/pacman + install -m755 rePKGBUILD.proto ${pkgdir}/usr/share/pacman +} + +package_libretools-legacy-pr() { + backup=('etc/libretools.d/prtools.conf') + + cd $srcdir/$pkgbase-v$pkgver + + install -d ${pkgdir}/etc/libretools.d + install -m644 prtools/prtools.conf ${pkgdir}/etc/libretools.d + + install -d ${pkgdir}/usr/bin + install -m755 prtools/prfullpkg ${pkgdir}/usr/bin + install -m755 prtools/prmipsrelease ${pkgdir}/usr/bin + install -m755 prtools/prtoru ${pkgdir}/usr/bin +} + +package_libretools-legacy-mips64el() { + backup=('etc/libretools.d/mips64el.conf') + + cd $srcdir/$pkgbase-v$pkgver + + install -d ${pkgdir}/etc/libretools.d + install -m755 mips64el/mips64el.conf ${pkgdir}/etc/libretools.d + + install -d ${pkgdir}/usr/bin + install -m755 mips64el/mips-add ${pkgdir}/usr/bin + install -m755 mips64el/mipsrelease ${pkgdir}/usr/bin +} |