[arch-commits] Commit in svgpart/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 25 01:07:21 UTC 2017
Date: Saturday, March 25, 2017 @ 01:07:20
Author: arojas
Revision: 291406
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
svgpart/repos/kde-unstable-x86_64/
svgpart/repos/kde-unstable-x86_64/PKGBUILD
(from rev 291405, svgpart/kde-unstable/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: svgpart/repos/kde-unstable-x86_64/PKGBUILD (from rev 291405, svgpart/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2017-03-25 01:07:20 UTC (rev 291406)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=svgpart
+pkgver=17.03.80
+pkgrel=1
+pkgdesc="A KPart for viewing SVGs"
+url="https://www.kde.org/applications/graphics/"
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+depends=(kparts)
+makedepends=(extra-cmake-modules python)
+conflicts=(kdegraphics-svgpart)
+replaces=(kdegraphics-svgpart)
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('b82ea93febcf9b1959d69893fb9f0eaafd2b1af2ecd480557993c6545e97a9ca'
+ 'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid at kde.org>
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list