summaryrefslogtreecommitdiff
path: root/community/dvdisaster/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dvdisaster/PKGBUILD')
-rw-r--r--community/dvdisaster/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/dvdisaster/PKGBUILD b/community/dvdisaster/PKGBUILD
new file mode 100644
index 000000000..15dcb0a07
--- /dev/null
+++ b/community/dvdisaster/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 70165 2012-05-01 03:12:33Z ebelanger $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=dvdisaster
+pkgver=0.72.4
+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')
+url="http://www.dvdisaster.com/"
+license=('GPL')
+depends=('gtk2')
+options=('!makeflags')
+source=(http://dvdisaster.net/downloads/${pkgname}-${pkgver}.tar.bz2 dvdisaster.desktop)
+sha1sums=('2b47fb5a5535d90641f24a599cd8ae8ffd86b972'
+ 'a802dfcee3aa35bdc4b0b5ecabcf32760cd8b992')
+
+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"
+}