summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD47
1 files changed, 25 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 19710d57c6f..953f4c417ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,54 +1,57 @@
-# Maintainer: Nate Levesque <public at thenaterhood dot com>
+# Maintainer: Marcel Robitaille <mail at marcelrobitaille dot me>
+# Maintainer (upstream): Nate Levesque <public at thenaterhood dot com>
# Contributor: TDY <tdy@archlinux.info>
# Contributor: Matej Horváth <matej.horvath@gmail.com>
-pkgname=gscreenshot
+pkgname=gscreenshot-simd
pkgver=2.10.1
pkgrel=1
epoch=
-pkgdesc="A simple screenshot tool supporting multiple backends"
+pkgdesc="A simple screenshot tool supporting multiple backends (fork using python-pillow-simd)"
arch=('any')
url="https://github.com/thenaterhood/gscreenshot"
license=('GPL')
groups=()
depends=("python"
- "python-pillow"
- "scrot"
- "pygtk"
- "gtk3"
- "python-setuptools"
- "python-gobject")
+ "python-pillow-simd"
+ "scrot"
+ "pygtk"
+ "gtk3"
+ "python-setuptools"
+ "python-gobject")
makedepends=("fakeroot")
checkdepends=()
optdepends=('slop: improved region and window selection'
- 'xclip: command line clipboard support'
- 'xdg-utils: for opening screenshot files from gscreenshot')
-provides=()
-conflicts=()
+ 'xclip: command line clipboard support'
+ 'xdg-utils: for opening screenshot files from gscreenshot')
+provides=('gscreenshot')
+conflicts=('gscreenshot')
replaces=()
backup=()
options=()
install=
changelog=
-source=("https://github.com/thenaterhood/gscreenshot/archive/v$pkgver.tar.gz")
-sha256sums=('0cbc20700cc02854624b4745e87fe8f68f48b5b8b629b169df02514e7149d6b3')
+source=("https://github.com/thenaterhood/gscreenshot/archive/v$pkgver.tar.gz" 'setup.py.patch')
+sha256sums=('0cbc20700cc02854624b4745e87fe8f68f48b5b8b629b169df02514e7149d6b3'
+ '5f9fb71c32a76f2e93c3403c7f6c081ed8ee0dd3cf1b81eeeebc85ec926a2e32')
validpgpkeys=()
prepare() {
- cd $srcdir/gscreenshot-$pkgver
+ cd $srcdir/gscreenshot-$pkgver
+ patch --strip=1 --input="${srcdir}/setup.py.patch"
}
build() {
- echo "Nothing to build"
+ echo "Nothing to build"
}
check() {
- echo "Nothing to check"
+ echo "Nothing to check"
}
package() {
- echo $pkgdir
- cd $srcdir/gscreenshot-$pkgver
- python setup.py install --root="$pkgdir/" --optimize=1 --force
- chmod +x "$pkgdir/usr/bin/gscreenshot"
+ echo $pkgdir
+ cd $srcdir/gscreenshot-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1 --force
+ chmod +x "$pkgdir/usr/bin/gscreenshot"
}