updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / devscripts / PKGBUILD
blob93c62d0d1a5ceeb221546963d97f6885f068f366
1 # Contributor: AndrĂ© Klitzing <aklitzing@online.de>
2 # Contributor: JD Horelick <jdhore1@gmail.com>
3 # Contributor: Jochen Schalanda <jochen+aur@schalanda.name>
4 pkgname=devscripts
5 pkgver=2.10.69+squeeze1
6 pkgrel=1
7 pkgdesc="Scripts to make the life of a Debian Package maintainer easier"
8 arch=(i686 x86_64)
9 url="http://packages.qa.debian.org/d/devscripts.html"
10 license=('GPL')
11 depends=('dpkg' 'wget' 'sed' 'perl' 'debianutils' 'debhelper')
12 makedepends=('po4a' 'perl-timedate' 'perl-libwww' 'docbook-xsl' 'perl-file-desktopentry' 'perl-file-basedir')
13 source=(http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.gz Makefile.patch devscripts.install)
14 install=('devscripts.install')
15 md5sums=('74cbc5f5ffc8f0112d5cce36bffbddb2'
16          '373e69e07c8d3ac11f7bb86b0fc84c1e'
17          '5ca9e31b6cbe4f32115dedd3a2c2d5b0')
19 build() {
20   cd $startdir/src/$pkgname-$pkgver
21   patch -p0 -i ../Makefile.patch
22   mkdir -p $startdir/pkg/etc/bash_completion.d
23   mkdir -p $startdir/pkg/usr/bin
24   mkdir -p $startdir/pkg/usr/lib/devscripts
25   mkdir -p $startdir/pkg/usr/share/devscripts
26   make DESTDIR=$startdir/pkg install