Date: Thursday, March 24, 2016 @ 15:30:42
  Author: jsteel
Revision: 168246

archrelease: copy trunk to community-testing-any

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

--------------+
 PKGBUILD     |   37 +++++++++++++++++++++++++++++++++++++
 usrbin.patch |   15 +++++++++++++++
 2 files changed, 52 insertions(+)

Copied: drbl/repos/community-testing-any/PKGBUILD (from rev 168245, 
drbl/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2016-03-24 14:30:42 UTC (rev 168246)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: M0Rf30
+
+pkgname=drbl
+pkgver=2.19.11
+pkgrel=1
+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')
+backup=('etc/drbl/drbl.conf')
+options=('!emptydirs')
+source=(http://free.nchc.org.tw/$pkgname-core/src/stable/$pkgname-$pkgver.tar.bz2
+        usrbin.patch)
+md5sums=('feeb119d9ab7116b29047cdf53fa4ed1'
+         'f01eac478f1ae62f505de645de96c68a')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -Np0 -i "$srcdir"/usrbin.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  make  
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+}

Copied: drbl/repos/community-testing-any/usrbin.patch (from rev 168245, 
drbl/trunk/usrbin.patch)
===================================================================
--- community-testing-any/usrbin.patch                          (rev 0)
+++ community-testing-any/usrbin.patch  2016-03-24 14:30:42 UTC (rev 168246)
@@ -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