Date: Thursday, May 30, 2013 @ 19:08:21
  Author: jsteel
Revision: 91976

archrelease: copy trunk to community-staging-any

Added:
  drbl/repos/community-staging-any/
  drbl/repos/community-staging-any/PKGBUILD
    (from rev 91975, drbl/trunk/PKGBUILD)
  drbl/repos/community-staging-any/usrbin.patch
    (from rev 91975, drbl/trunk/usrbin.patch)

--------------+
 PKGBUILD     |   36 ++++++++++++++++++++++++++++++++++++
 usrbin.patch |   15 +++++++++++++++
 2 files changed, 51 insertions(+)

Copied: drbl/repos/community-staging-any/PKGBUILD (from rev 91975, 
drbl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2013-05-30 17:08:21 UTC (rev 91976)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jonathan Steel <mail at jsteel dot org>
+# Contributor: M0Rf30
+
+pkgname=drbl
+pkgver=2.3.10
+pkgrel=2
+pkgdesc="Diskless Remote Boot in Linux: manage the deployment of the GNU/Linux 
operating system across many clients"
+arch=('any')
+url="http://drbl.sourceforge.net";
+license=('GPL')
+depends=('perl' 'bc')
+makedepends=('vim')
+source=(http://free.nchc.org.tw/$pkgname-core/src/stable/$pkgname-$pkgver.tar.bz2
+        usrbin.patch)
+backup=(etc/drbl/drbl.conf)
+md5sums=('412e68b8f96ef021052f680f2ea78501'
+         'f01eac478f1ae62f505de645de96c68a')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  patch -Np0 -i "$srcdir"/usrbin.patch
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  make  
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  make DESTDIR="$pkgdir"/ install
+}

Copied: drbl/repos/community-staging-any/usrbin.patch (from rev 91975, 
drbl/trunk/usrbin.patch)
===================================================================
--- community-staging-any/usrbin.patch                          (rev 0)
+++ community-staging-any/usrbin.patch  2013-05-30 17:08:21 UTC (rev 91976)
@@ -0,0 +1,15 @@
+--- Makefile.orig      2013-05-30 17:56:44.323563977 +0100
++++ Makefile   2013-05-30 17:57:35.139954480 +0100
+@@ -27,9 +27,9 @@
+ 
+ install:
+       # install exec files
+-      install -d $(DESTDIR)/usr/
+-      cp -a sbin bin $(DESTDIR)/usr/
+-      rm -f $(DESTDIR)/usr/sbin/Makefile
++      install -d $(DESTDIR)/usr/bin
++      cp -a sbin/* bin/* $(DESTDIR)/usr/bin/
++      rm -f $(DESTDIR)/usr/bin/Makefile
+       # install setup dir
+       install -d $(DESTDIR)/$(SHAREDIR)/
+       cp -a setup $(DESTDIR)/$(SHAREDIR)/

Reply via email to