summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD32
-rw-r--r--black-white_2-Style-applets-screenshooter.pngbin0 -> 9998 bytes
-rw-r--r--gscreenshot.desktop9
4 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..efe9a9565db
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = gscreenshot
+ pkgdesc = A GUI front-end for scrot
+ pkgver = 1.3
+ pkgrel = 5
+ url = http://gscreenshot.googlecode.com/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libglade
+ depends = scrot
+ depends = pygtk
+ depends = python-imaging
+ noextract = gscreenshot-1.3.tar.gz
+ source = http://gscreenshot.googlecode.com/svn/trunk/gscreenshot-1.3.tar.gz
+ source = black-white_2-Style-applets-screenshooter.png
+ source = gscreenshot.desktop
+ md5sums = 9b71ff62bb1a4d30557f6af6726da10f
+ md5sums = 289f9c98f97be35bc558ee5d314d3a3d
+ md5sums = edca8ec37120e6bfbb438e136f03551d
+
+pkgname = gscreenshot
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..58fa9c85a01
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: TDY <tdy@archlinux.info>
+# Contributor: Matej Horváth <matej.horvath@gmail.com>
+
+pkgname=gscreenshot
+pkgver=1.3
+pkgrel=5
+pkgdesc="A GUI front-end for scrot"
+arch=('i686' 'x86_64')
+url="http://gscreenshot.googlecode.com/"
+license=('GPL')
+depends=('libglade' 'scrot' 'pygtk' 'python-imaging')
+source=(http://$pkgname.googlecode.com/svn/trunk/$pkgname-$pkgver.tar.gz
+ black-white_2-Style-applets-screenshooter.png $pkgname.desktop)
+noextract=($pkgname-$pkgver.tar.gz)
+md5sums=('9b71ff62bb1a4d30557f6af6726da10f'
+ '289f9c98f97be35bc558ee5d314d3a3d'
+ 'edca8ec37120e6bfbb438e136f03551d')
+
+package() {
+ cd "$srcdir"
+ install -dm755 "$pkgdir/usr/share/$pkgname"
+ tar xzf $pkgname-$pkgver.tar.gz -C "$pkgdir/usr/share/$pkgname" \
+ --strip=1 --transform="s,$pkgname$,$pkgdir/usr/bin/$pkgname,"
+ install -Dm644 $pkgname.desktop \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 black-white_2-Style-applets-screenshooter.png \
+ "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ sed -i 's,/usr/bin/env python,&2,; s,import Image,from PIL &,' \
+ "$pkgdir/usr/share/$pkgname/$pkgname.py"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/black-white_2-Style-applets-screenshooter.png b/black-white_2-Style-applets-screenshooter.png
new file mode 100644
index 00000000000..dd4f671b148
--- /dev/null
+++ b/black-white_2-Style-applets-screenshooter.png
Binary files differ
diff --git a/gscreenshot.desktop b/gscreenshot.desktop
new file mode 100644
index 00000000000..b02e167007a
--- /dev/null
+++ b/gscreenshot.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=gscreenshot
+Comment=A pygtk wrapper for the 'scrot' utility
+TryExec=/usr/bin/gscreenshot
+Exec=gscreenshot
+Icon=gscreenshot
+Categories=Graphics;