blob: 6a07af6e0ded6ff7d138c7c679aee07d593fed4b (
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
33
34
35
36
|
# $Id: PKGBUILD 42285 2011-03-16 04:44:26Z ebelanger $
# Contributor: Biru Ionut <ionut@archlinux.ro>
# Contributor: Luke McCarthy <luke@iogopro.co.uk>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=dvdisaster
pkgver=0.72.2
pkgrel=1
pkgdesc="Provides a margin of safety against data loss on CD and DVD media caused by aging or scratches"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.dvdisaster.com/"
license=('GPL')
depends=('gtk2')
options=('!makeflags')
source=(http://dvdisaster.net/downloads/${pkgname}-${pkgver}.tar.bz2 dvdisaster.desktop)
md5sums=('312bceef3bf9c0754cf633ed3b12eb71' '3a0d6657c47b20a43b93c0e5d58d755a')
sha1sums=('f560990e2047ecf0be50c425262046828399fbc3' 'b1e6f372508157923bbb83da7b9af2a51137c589')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--mandir=/usr/share/man --docdir=/usr/share/doc \
--localedir=/usr/share/locale \
--with-nls=yes
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make BUILDROOT="${pkgdir}" install
rm -f "${pkgdir}/usr/bin/dvdisaster-uninstall.sh"
install -D -m 644 ${srcdir}/dvdisaster.desktop \
"${pkgdir}/usr/share/applications/dvdisaster.desktop"
install -D -m 644 icons/create.png \
"${pkgdir}/usr/share/pixmaps/dvdisaster.png"
}
|