summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authordawidd62015-06-23 20:35:55 +0200
committerdawidd62015-06-23 20:35:55 +0200
commit61e16e3586c5ece8175ffb95b1a151f929ff0ba8 (patch)
treeb32a2fdb18b40834d8618bb8694694961d58d117 /PKGBUILD
downloadaur-61e16e3586c5ece8175ffb95b1a151f929ff0ba8.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
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: