summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortimcowchip2015-12-19 23:52:36 -0800
committertimcowchip2015-12-19 23:52:36 -0800
commit54ed39d4a7f777f5c1d0a664dc0d6748f41dae4c (patch)
treebd62e95c0cae34316e4cf09d1c1dc6f8eaba5be0
downloadaur-54ed39d4a7f777f5c1d0a664dc0d6748f41dae4c.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD32
-rw-r--r--k9copy.install12
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8141418c5ec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v8
+# Sun Dec 20 07:47:47 UTC 2015
+pkgbase = k9copy
+ pkgdesc = A small utility to copy DVD
+ pkgver = 3.0.3
+ pkgrel = 2
+ url = http://sourceforge.net/projects/k9copy-reloaded/
+ install = k9copy.install
+ arch = x86_64
+ license = GPL
+ makedepends = automoc4
+ makedepends = cmake
+ depends = kdelibs
+ depends = libmpeg2
+ depends = xine-lib
+ depends = dvd+rw-tools
+ depends = dvdauthor
+ depends = libdvdnav
+ optdepends = libdvdcss: for decoding encrypted DVDs
+ provides = k9copy-reloaded
+ source = http://sourceforge.net/projects/k9copy-reloaded/files/k9copy-3.0.3.tar.gz
+ md5sums = 53158282e23a4aa4fb8f4336f1424521
+
+pkgname = k9copy
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ab45e08298a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: timcowchip <timcowchip@gmail>
+pkgname=k9copy
+pkgver=3.0.3
+pkgrel=2
+pkgdesc="A small utility to copy DVD"
+arch=('x86_64')
+url="http://sourceforge.net/projects/k9copy-reloaded/"
+license=('GPL')
+depends=('kdelibs' 'libmpeg2' 'xine-lib' 'dvd+rw-tools' 'dvdauthor' 'libdvdnav')
+optdepends=('libdvdcss: for decoding encrypted DVDs')
+makedepends=('automoc4' 'cmake')
+provides=('k9copy-reloaded')
+install=k9copy.install
+source=("http://sourceforge.net/projects/k9copy-reloaded/files/$pkgname-$pkgver.tar.gz")
+md5sums=('53158282e23a4aa4fb8f4336f1424521')
+
+build(){
+ cd "$srcdir/$pkgname"
+
+ # Fix desktop files
+ sed -e 's|Name=k9copy|Name=K9copy|g' \
+ -e '/xdg-open/d' -e '/Encoding/d' -e '/MimeTypes/d' \
+ -i k9copy{,_assistant}.desktop
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DQT5_BUILD=OFF
+ make
+}
+
+package(){
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/k9copy.install b/k9copy.install
new file mode 100644
index 00000000000..3f06b8deb57
--- /dev/null
+++ b/k9copy.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}