This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 4th, 2012  |  syntax: None  |  size: 1.21 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: André Klitzing <aklitzing@online.de>
  2. # Contributor: JD Horelick <jdhore1@gmail.com>
  3. # Contributor: Jochen Schalanda <jochen+aur@schalanda.name>
  4. # Contributor: Héctor Acosta <hector.acosta@gmail.com>
  5. pkgname=devscripts
  6. pkgver=2.10.69+squeeze1
  7. pkgrel=1
  8. pkgdesc="Scripts to make the life of a Debian Package maintainer easier"
  9. arch=(i686 x86_64)
  10. url="http://packages.qa.debian.org/d/devscripts.html"
  11. license=('GPL')
  12. depends=('dpkg' 'wget' 'sed' 'perl' 'debianutils' 'debhelper')
  13. makedepends=('po4a' 'perl-timedate' 'perl-libwww' 'docbook-xsl' 'perl-file-desktopentry' 'perl-file-basedir')
  14. source=(http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.gz Makefile.patch devscripts.install)
  15. install=devscripts.install
  16. md5sums=('74cbc5f5ffc8f0112d5cce36bffbddb2'
  17.          '373e69e07c8d3ac11f7bb86b0fc84c1e'
  18.          '5ca9e31b6cbe4f32115dedd3a2c2d5b0')
  19.  
  20. build() {
  21.   cd $startdir/src/$pkgname-$pkgver
  22.   patch -p0 -i ../Makefile.patch
  23.   mkdir -p $startdir/pkg/etc/bash_completion.d
  24.   mkdir -p $startdir/pkg/usr/bin
  25.   mkdir -p $startdir/pkg/usr/lib/devscripts
  26.   mkdir -p $startdir/pkg/usr/share/devscripts
  27.   PATH=$PATH:/usr/bin/vendor_perl make DESTDIR=$startdir/pkg install
  28. }
clone this paste RAW Paste Data