summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkunnyk2015-06-22 13:20:39 +0200
committerSkunnyk2015-06-22 13:20:39 +0200
commit9a8b5562aaee7e9b1be9e646acb6dd4481c58481 (patch)
treefc66135b1d5260bdb23d86cb95c0cd71015fade7
downloadaur-9a8b5562aaee7e9b1be9e646acb6dd4481c58481.tar.gz
Initial import
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD37
-rw-r--r--xfce4-screenshooter-git.install13
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..532a76236a6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = xfce4-screenshooter-git
+ pkgdesc = Plugin that makes screenshots for the Xfce panel.
+ pkgver = 1.8.1.r152.gfb51e30
+ pkgrel = 3
+ url = http://goodies.xfce.org/projects/applications/xfce4-screenshooter
+ install = xfce4-screenshooter-git.install
+ arch = i686
+ arch = x86_64
+ groups = xfce4-goodies
+ license = GPL2
+ makedepends = xfce4-dev-tools
+ makedepends = intltool
+ makedepends = git
+ depends = xfce4-panel
+ depends = libsoup
+ depends = hicolor-icon-theme
+ provides = xfce4-screenshooter
+ conflicts = xfce4-screenshooter
+ source = xfce4-screenshooter-git::git://git.xfce.org/apps/xfce4-screenshooter
+ sha256sums = SKIP
+
+pkgname = xfce4-screenshooter-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5319291ad87
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Skunnyk <skunnyk@archlinux.fr>
+pkgname=xfce4-screenshooter-git
+pkgver=1.8.1.r152.gfb51e30
+pkgrel=3
+pkgdesc="Plugin that makes screenshots for the Xfce panel."
+arch=('i686' 'x86_64')
+url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
+license=('GPL2')
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'libsoup' 'hicolor-icon-theme')
+makedepends=('xfce4-dev-tools' 'intltool' 'git')
+provides=('xfce4-screenshooter')
+conflicts=('xfce4-screenshooter')
+install=$pkgname.install
+source=($pkgname::git://git.xfce.org/apps/xfce4-screenshooter)
+sha256sums=('SKIP')
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --long | sed -r 's/^xfce4-screenshooter-//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./autogen.sh \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-debug
+ make
+}
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
+}
+# vim:set ts=2 sw=2 et:
diff --git a/xfce4-screenshooter-git.install b/xfce4-screenshooter-git.install
new file mode 100644
index 00000000000..e4f8fd06c1e
--- /dev/null
+++ b/xfce4-screenshooter-git.install
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et: