[arch-commits] Commit in kbibtex/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Dec 5 07:46:31 UTC 2017


    Date: Tuesday, December 5, 2017 @ 07:46:30
  Author: arojas
Revision: 272211

Update to 0.7

Modified:
  kbibtex/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-05 07:36:54 UTC (rev 272210)
+++ PKGBUILD	2017-12-05 07:46:30 UTC (rev 272211)
@@ -4,8 +4,8 @@
 # Contributor: cmorlok <christianmorlok at web.de>
 
 pkgname=kbibtex
-pkgver=0.6.2
-pkgrel=2
+pkgver=0.7
+pkgrel=1
 pkgdesc="A BibTeX editor for KDE"
 arch=('x86_64')
 url='https://userbase.kde.org/KBibTeX'
@@ -13,30 +13,26 @@
 depends=('kdebase-runtime' 'poppler-qt4')
 optdepends=('okular: Document preview')
 makedepends=('cmake' 'automoc4' 'qca-qt4')
-source=("https://download.kde.org/stable/KBibTeX/$pkgname-$pkgver.tar.xz"{,.asc} kbibtex-no-qtwebkit.patch)
-sha256sums=('d99e419aec1d3af0a57eba6d7498de4e6be25ddbd5a5e56fc9de09e7e17dcdf3'
-            'SKIP'
-            '8abf53b295c2271f90e673ebc4dff88283732e08e138afdd0de90b145aa8f328')
+source=("https://download.kde.org/stable/KBibTeX/$pkgname-$pkgver.tar.xz"{,.asc})
+sha256sums=('5d3acdd7cd6da9cb8db23e46cd02b8a6648e516330b169d09a6b6ffe226f9a96'
+            'SKIP')
 validpgpkeys=('1808CB466328F4380685A3B1A264FD738D861F41') # Thomas Fischer <fischer at unix-ag.uni-kl.de>
 
 prepare() {
-  cd $pkgname-$pkgver
-
-# Disable insecure qtwebkit
-  patch -p1 -i ../kbibtex-no-qtwebkit.patch
+  mkdir -p build
 }
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd build
 
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
   make
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd build
 
   make DESTDIR="$pkgdir" install
 }
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list