mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
37 lines
995 B
Bash
37 lines
995 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||
|
# Contributor: Andreas Wagner <A.Wagner@stud.uni-frankfurt.de>
|
||
|
|
||
|
pkgname=bashburn
|
||
|
pkgver=3.0
|
||
|
pkgrel=2
|
||
|
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=(http://dev.archlinux.org/~ronald/BashBurn-${pkgver}.tar.gz)
|
||
|
md5sums=('8841b67cab6effcbc2d91febd1f5d999')
|
||
|
|
||
|
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
|
||
|
|
||
|
# fix executable
|
||
|
sed -i 's|'$pkgdir'||' $pkgdir/usr/bin/bashburn || return 1
|
||
|
|
||
|
# install manpage
|
||
|
install -Dm644 ${srcdir}/${pkgver}/bashburn_man/${pkgname}.1 \
|
||
|
${pkgdir}/usr/share/man/man1/${pkgname}.1
|
||
|
|
||
|
# remove useless docs (changelog and such)
|
||
|
rm -rf ${pkgdir}/usr/lib/Bashburn/docs
|
||
|
}
|