[arch-commits] Commit in fbgrab/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Mon Nov 2 11:18:25 UTC 2020
Date: Monday, November 2, 2020 @ 11:18:24
Author: kkeen
Revision: 739446
archrelease: copy trunk to community-x86_64
Added:
fbgrab/repos/community-x86_64/PKGBUILD
(from rev 739445, fbgrab/trunk/PKGBUILD)
Deleted:
fbgrab/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 73 +++++++++++++++++++++++--------------------------------------
1 file changed, 28 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-02 11:18:10 UTC (rev 739445)
+++ PKGBUILD 2020-11-02 11:18:24 UTC (rev 739446)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
-
-pkgname=fbgrab
-pkgver=1.3
-pkgrel=3
-pkgdesc="A framebuffer screenshot grabber"
-arch=('x86_64')
-url="http://fbgrab.monells.se/"
-license=("GPL")
-depends=('libpng')
-makedepends=('libpng')
-source=("https://fbgrab.monells.se/fbgrab-$pkgver.tar.gz")
-sha256sums=('5fab478cbf8731fbacefaa76236a8f8b38ccff920c53b3a8253bc35509fba8ed')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- # patch from Curtis McEnroe <programble at gmail.com> which should fix alpha
- patch -p1 fbgrab.c <<EOF
-diff -wbBur fbgrab-1.3/fbgrab.c fbgrab-1.3.q/fbgrab.c
---- fbgrab-1.3/fbgrab.c 2015-06-16 23:53:20.000000000 +0300
-+++ fbgrab-1.3.q/fbgrab.c 2017-05-03 19:49:22.310138775 +0300
-@@ -279,7 +279,7 @@
- /* RED = 2 */
- outbuffer[(i<<2)+Red] = inbuffer[i*4+srcRed];
- /* ALPHA */
-- outbuffer[(i<<2)+Alpha] = srcAlpha >= 0 ? inbuffer[i*4+srcAlpha] : 0xff;
-+ outbuffer[(i<<2)+Alpha] = srcAlpha >= 0 ? inbuffer[i*4+srcAlpha] : '\0';
- }
- }
-
-EOF
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make install DESTDIR="$pkgdir"
-}
Copied: fbgrab/repos/community-x86_64/PKGBUILD (from rev 739445, fbgrab/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-02 11:18:24 UTC (rev 739446)
@@ -0,0 +1,28 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+
+pkgname=fbgrab
+pkgver=1.4
+pkgrel=1
+pkgdesc="A framebuffer screenshot grabber"
+arch=('x86_64')
+url="https://github.com/GunnarMonell/fbgrab"
+license=("GPL")
+depends=('libpng')
+source=("$pkgname-$pkgver.tgz::https://github.com/GunnarMonell/fbgrab/archive/$pkgver.tar.gz")
+sha256sums=('62d7aa82138ac36db0921832f3b5267b4cffc0dc22c8701857ebcb997960a32e')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list