# $Id: PKGBUILD 146416 2012-01-10 23:37:32Z eric $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Stefano Zamprogno <stefano.zamprogno@gmail.com> pkgname=k9copy pkgver=2.3.8 pkgrel=2 pkgdesc="A small utility which allows the copy of DVD under Linux" arch=('i686' 'x86_64') url="http://k9copy.sourceforge.net" license=('GPL') depends=('kdebase-runtime' 'libmpeg2' 'xine-lib' 'dvd+rw-tools' 'dvdauthor') makedepends=('automoc4' 'cmake') install=k9copy.install source=("http://downloads.sourceforge.net/project/${pkgname}/k9copy-kde4/${pkgver}/${pkgname}-${pkgver}-Source.tar.gz") md5sums=('584f6cc50f28befbeb0d5c1ec9476456') build() { cd "${srcdir}/${pkgname}-${pkgver}-Source" sed -i -e "s:Name=k9copy:Name=K9copy:g" k9copy.desktop k9copy_assistant.desktop cmake -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}-Source" make DESTDIR="${pkgdir}" install }