summaryrefslogtreecommitdiff
path: root/community/bashburn/PKGBUILD
blob: 5bed7de285980159f59a5d46185e3d1d2a23cae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 7017 2009-12-29 20:22:18Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Andreas Wagner <A.Wagner@stud.uni-frankfurt.de>

pkgname=bashburn
pkgver=3.0.1
pkgrel=1
pkgdesc="A cd burning shell script"
arch=('i686' 'x86_64')
url="http://bashburn.dose.se/"
license=('GPL2')
depends=('bash' 'cdrdao' 'cdrkit' 'eject')
optdepends=('dvd+rw-tools: support for burning DVDs')
source=(BashBurn-${pkgver}.tar.gz::"http://bashburn.dose.se/index.php?s=file_download&id=18")
md5sums=('debac9fe5ae2b116b01e0ff774870a7f')

build() {
  cd ${srcdir}/${pkgver}

# let it install in the correct location
  sed -i 's|bblib=${lib}/lib|bblib=${lib}|' Install.sh || return 1

# install
  ./Install.sh --prefix=${pkgdir}/usr || return 1

# fix executable
  sed -i 's|'$pkgdir'||' ${pkgdir}/usr/bin/bashburn || return 1

# remove useless docs (changelog and such)
  rm -rf ${pkgdir}/usr/lib/Bashburn/docs || return 1
}