summaryrefslogtreecommitdiff
path: root/testing/k9copy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-08 23:14:45 +0000
committerroot <root@rshg054.dnsready.net>2012-01-08 23:14:45 +0000
commit46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (patch)
treeeb2bd0aa427b4ad1659249fa8b86467dcd68e0dc /testing/k9copy
parent6aeb515f4afd10afb53b21df18d03b0d5f3a200f (diff)
Sun Jan 8 23:14:45 UTC 2012
Diffstat (limited to 'testing/k9copy')
-rw-r--r--testing/k9copy/PKGBUILD31
-rw-r--r--testing/k9copy/k9copy.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/testing/k9copy/PKGBUILD b/testing/k9copy/PKGBUILD
new file mode 100644
index 000000000..e4ca2bf0b
--- /dev/null
+++ b/testing/k9copy/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 146245 2012-01-07 05:13:20Z 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
+}
diff --git a/testing/k9copy/k9copy.install b/testing/k9copy/k9copy.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/testing/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
+}