diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /libre/libretools/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'libre/libretools/PKGBUILD')
-rw-r--r-- | libre/libretools/PKGBUILD | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD new file mode 100644 index 000000000..b424a9405 --- /dev/null +++ b/libre/libretools/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: Joshua Haase <hahj87@gmail.com +# Contributor: fauno <fauno@kiwwwi.com.ar> + +pkgname=libretools +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) +makedepends=(git) +backup=(etc/libretools.conf) +install=libretools.install +source=() +md5sums=() + +_gitroot="http://projects.parabolagnulinux.org/libretools.git" +_gitname="libretools" + +build() { + cd "$srcdir" + ## Git checkout + if [ -d $srcdir/${_gitname} ] ; then + msg "Git checkout: Updating existing tree" + cd ${_gitname} && git pull origin + msg "Git checkout: Tree has been updated" + else + msg "Git checkout: Retrieving sources" + git clone ${_gitroot} + fi + msg "Checkout completed" + ## Build +} + +package() { + install -d ${pkgdir}/usr/bin + install -d ${pkgdir}/etc + + install -m644 ${_gitname}/libretools.conf ${pkgdir}/etc/ + + install -m755 ${_gitname}/abslibre-commit ${pkgdir}/usr/bin + install -m755 ${_gitname}/add-mips64el ${pkgdir}/usr/bin + install -m755 ${_gitname}/createworkdir ${pkgdir}/usr/bin/ + install -m755 ${_gitname}/fullpkg ${pkgdir}/usr/bin + install -m755 ${_gitname}/is_built ${pkgdir}/usr/bin + 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}/librestage ${pkgdir}/usr/bin/ + install -m755 ${_gitname}/mipsrelease ${pkgdir}/usr/bin + install -m755 ${_gitname}/pkgbuild-check-nonfree ${pkgdir}/usr/bin/ + install -m755 ${_gitname}/updateabslibre ${pkgdir}/usr/bin + +}
\ No newline at end of file |