diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-04 23:02:54 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-04 23:02:54 -0300 |
commit | 3f29d116bbc06f0a7447a01ee9f771a36e4c2a0d (patch) | |
tree | f71355c6e6f9db92ed868cdcd4e9dce79f200b73 /libre/parabola-archiso-git | |
parent | 2a53e8145e9c27e414e0e7c5c7f01a7ea6fdc3d0 (diff) |
parabola-archiso-git: new package
Diffstat (limited to 'libre/parabola-archiso-git')
-rw-r--r-- | libre/parabola-archiso-git/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/libre/parabola-archiso-git/PKGBUILD b/libre/parabola-archiso-git/PKGBUILD new file mode 100644 index 000000000..a013d6e79 --- /dev/null +++ b/libre/parabola-archiso-git/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy> +pkgname=parabola-archiso-git +pkgver=20120504 +pkgrel=1 +pkgdesc="Parabola GNU/Linux-libre livecd/liveusb generation scripts" +arch=('any') +url="https://parabolagnulinux.org" +license=('GPL') +depends=('libisoburn' 'squashfs-tools' 'rsync') +optdepends=('qemu: quickly test isos') +makedepends=('git') +provides=('archiso') +conflicts=('archiso') +source=() +md5sums=() + +_gitroot=git://parabolagnulinux.org/archiso.git +_gitname=archiso + +build() { + cd ${srcdir} + msg "Connecting to projects.parabolagnulinux.org GIT server..." + + if [ -d ${srcdir}/$_gitname ]; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot + fi + + msg "GIT checkout done or server timeout" + msg "Starting make..." + + if [ -d ${srcdir}/$_gitname-build ]; then + rm -rf ${srcdir}/$_gitname-build + fi + + git clone ${srcdir}/$_gitname ${srcdir}/$_gitname-build || return 1 + cd ${srcdir}/$_gitname-build/$_gitname || return 1 + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: |