summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Pagani2016-04-24 15:29:42 +0200
committerBruno Pagani2016-04-24 15:29:42 +0200
commitd4e77eb3106a045547a92e318ea5f2f76adb3427 (patch)
tree29ec8d75a6750abdf32bc07256c27410cc451571
downloadaur-d4e77eb3106a045547a92e318ea5f2f76adb3427.tar.gz
Initial upload: spectacle-light 16.04.0-1
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD40
-rw-r--r--spectacle.install12
3 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3f863022267
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+# Generated by mksrcinfo v8
+# Sun Apr 24 13:29:42 UTC 2016
+pkgbase = spectacle
+ pkgdesc = KDE screenshot capture utility, without purpose
+ pkgver = 16.04.0
+ pkgrel = 1
+ url = https://www.kde.org/applications/graphics/
+ install = spectacle.install
+ arch = i686
+ arch = x86_64
+ groups = kde-applications
+ groups = kdegraphics
+ license = GPL
+ makedepends = extra-cmake-modules
+ makedepends = kdoctools
+ makedepends = python
+ depends = xcb-util-cursor
+ depends = libkscreen
+ depends = libkipi
+ depends = kdeclarative
+ provides = spectacle
+ conflicts = kdegraphics-ksnapshot
+ conflicts = kscreengenie
+ conflicts = spectacle
+ replaces = kdegraphics-ksnapshot
+ replaces = kscreengenie
+ source = http://download.kde.org/stable/applications/16.04.0/src/spectacle-16.04.0.tar.xz
+ sha256sums = eab96b07eff41e98057ebbc3fb81d2ee6227559d0858d23ea82a8ad1e4ab1830
+
+pkgname = spectacle-light
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..72a43bc0179
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <bruno.n.pagani@gmail.com>
+# Contributor: Antonio Rojas <arojas@archlinux.org>
+
+pkgbase=spectacle
+pkgname=spectacle-light
+pkgver=16.04.0
+pkgrel=1
+pkgdesc="KDE screenshot capture utility, without purpose"
+arch=(i686 x86_64)
+url='https://www.kde.org/applications/graphics/'
+license=(GPL)
+depends=(xcb-util-cursor libkscreen libkipi kdeclarative)
+makedepends=(extra-cmake-modules kdoctools python)
+conflicts=(kdegraphics-ksnapshot kscreengenie spectacle)
+replaces=(kdegraphics-ksnapshot kscreengenie)
+provides=(spectacle)
+groups=(kde-applications kdegraphics)
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
+install=${pkgbase}.install
+sha256sums=('eab96b07eff41e98057ebbc3fb81d2ee6227559d0858d23ea82a8ad1e4ab1830')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake "../${pkgbase}-${pkgver}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package_spectacle-light() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
+
diff --git a/spectacle.install b/spectacle.install
new file mode 100644
index 00000000000..5495fb1b5d2
--- /dev/null
+++ b/spectacle.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}