diff options
Diffstat (limited to 'extra/k9copy')
-rw-r--r-- | extra/k9copy/PKGBUILD | 25 | ||||
-rw-r--r-- | extra/k9copy/k9copy.install | 11 |
2 files changed, 36 insertions, 0 deletions
diff --git a/extra/k9copy/PKGBUILD b/extra/k9copy/PKGBUILD new file mode 100644 index 000000000..4c53891b7 --- /dev/null +++ b/extra/k9copy/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 87453 2010-08-13 20:02:16Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Stefano Zamprogno <stefano.zamprogno@gmail.com> + +pkgname=k9copy +pkgver=2.3.6 +pkgrel=1 +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=('c062dcb141a0320afe9dae0d36f87965') + +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 || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} diff --git a/extra/k9copy/k9copy.install b/extra/k9copy/k9copy.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/k9copy/k9copy.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |