mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# $Id: $
|
|
# Maintainer: Biru Ionut <ionut@archlinux.ro>
|
|
# Contributor: Luke McCarthy <luke@iogopro.co.uk>
|
|
|
|
pkgname=dvdisaster
|
|
pkgver=0.72.1
|
|
pkgrel=2
|
|
pkgdesc="Provides a margin of safety against data loss on CD and DVD media caused by aging or scratches"
|
|
url="http://www.dvdisaster.com/"
|
|
license=('GPL')
|
|
depends=('gtk2')
|
|
arch=('i686' 'x86_64')
|
|
source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.bz2
|
|
'dvdisaster.desktop')
|
|
md5sums=('4da96566bc003be93d9dfb0109b4aa1d'
|
|
'3a0d6657c47b20a43b93c0e5d58d755a')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--localedir=/usr/share/locale \
|
|
--with-nls=yes || return 1
|
|
make || return 1
|
|
make BUILDROOT=${pkgdir} install || return 1
|
|
rm -f $pkgdir/usr/bin/dvdisaster-uninstall.sh
|
|
install -d $pkgdir/usr/share/applications
|
|
install -d $pkgdir/usr/share/pixmaps
|
|
install -m 644 ${srcdir}/dvdisaster.desktop \
|
|
$pkgdir/usr/share/applications || return 1
|
|
install -m 644 icons/create.png \
|
|
$pkgdir/usr/share/pixmaps/dvdisaster.png || return 1
|
|
mv ${pkgdir}/usr/doc ${pkgdir}/usr/share/doc
|
|
}
|