summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD34
-rw-r--r--fix_build.patch11
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d33237a8f72
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Thu Jun 22 20:02:53 UTC 2017
+pkgbase = isoimagewriter
+ pkgver = 0.1
+ pkgrel = 1
+ arch = x86_64
+ arch = i686
+ makedepends = cmake
+ makedepends = extra-cmake-modules
+ depends = qt5-base
+ source = https://download.kde.org/unstable/isoimagewriter/0.1/isoimagewriter-0.1.tar.xz
+ source = https://download.kde.org/unstable/isoimagewriter/0.1/isoimagewriter-0.1.tar.xz.sig
+ source = fix_build.patch
+ sha512sums = 3a11772b916438dd1683dec8e9bf60aa88e2db8cbd06dc5c8044531108baf6a01fbb37176b4722024a0c9a466394988dcd800ecad9b6f642093e988b85e39a2f
+ sha512sums = SKIP
+ sha512sums = 6cdb771a4c54f59d6884fa1d43ad4c913c91e86437de9255ec6ed133179d84f8bf44509fa7682ac7b70166e48a1d010371a637ec8756a1e40d631396878d477a
+
+pkgname = isoimagewriter
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6597e5e0667
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
+
+pkgname=isoimagewriter
+pkgver=0.1
+pkgrel=1
+pkgdesc=""
+arch=("x86_64" "i686")
+url=""
+license=('')
+depends=('qt5-base')
+makedepends=('cmake' 'extra-cmake-modules')
+source=("https://download.kde.org/unstable/isoimagewriter/0.1/isoimagewriter-0.1.tar.xz"{,.sig}
+ fix_build.patch)
+sha512sums=('3a11772b916438dd1683dec8e9bf60aa88e2db8cbd06dc5c8044531108baf6a01fbb37176b4722024a0c9a466394988dcd800ecad9b6f642093e988b85e39a2f'
+ 'SKIP'
+ '6cdb771a4c54f59d6884fa1d43ad4c913c91e86437de9255ec6ed133179d84f8bf44509fa7682ac7b70166e48a1d010371a637ec8756a1e40d631396878d477a')
+validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E') # Jonathan Riddell
+
+prepare() {
+ mkdir -p build
+ cd $pkgname-$pkgver
+ patch -Np0 < $srcdir/fix_build.patch
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/fix_build.patch b/fix_build.patch
new file mode 100644
index 00000000000..6ca1c11a7ce
--- /dev/null
+++ b/fix_build.patch
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.old 2017-06-22 21:58:14.005408596 +0200
++++ CMakeLists.txt 2017-06-22 21:58:21.068781908 +0200
+@@ -31,7 +31,7 @@
+
+ add_subdirectory(isoimagewriter)
+ add_subdirectory(images)
+-add_subdirectory(signing-keys)
++#add_subdirectory(signing-keys)
+
+ feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
+