summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-05-04 23:02:54 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-05-04 23:02:54 -0300
commit3f29d116bbc06f0a7447a01ee9f771a36e4c2a0d (patch)
treef71355c6e6f9db92ed868cdcd4e9dce79f200b73
parent2a53e8145e9c27e414e0e7c5c7f01a7ea6fdc3d0 (diff)
downloadabslibre-3f29d116bbc06f0a7447a01ee9f771a36e4c2a0d.tar.gz
abslibre-3f29d116bbc06f0a7447a01ee9f771a36e4c2a0d.tar.bz2
abslibre-3f29d116bbc06f0a7447a01ee9f771a36e4c2a0d.zip
parabola-archiso-git: new package
-rw-r--r--libre/parabola-archiso-git/PKGBUILD45
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: