Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

PKGBUILD for devscripts 2.10.68

By: a guest on Oct 19th, 2010  |  syntax: None  |  size: 1.06 KB  |  hits: 75  |  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. pkgname=devscripts
  4. pkgver=2.10.68
  5. pkgrel=1
  6. pkgdesc="Scripts to make the life of a Debian Package maintainer easier"
  7. arch=(i686 x86_64)
  8. url="http://packages.qa.debian.org/d/devscripts.html"
  9. license=('GPL')
  10. depends=('dpkg' 'wget' 'sed' 'perl' 'debianutils' 'debhelper')
  11. makedepends=('po4a' 'perl-timedate' 'perl-libwww' 'docbook-xsl' 'perl-file-desktopentry' 'perl-file-basedir')
  12. source=(http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.gz Makefile.patch devscripts.install)
  13. md5sums=(
  14.         'b0c53d19e4e633661bdd77f0ff49e2b0'
  15.         'aa35f3dda8502c370fa6ef498850c58c'
  16.         '5ca9e31b6cbe4f32115dedd3a2c2d5b0'
  17.         )
  18. install=('devscripts.install')
  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.   make || return 1
  28.   make DESTDIR=$startdir/pkg install
  29. }