[crux-commits] ports/contrib (3.5): [notify] scrot: 0.8.18 -> 1.3 new dependencies: autoconf-archive xorg-libxcursor

crux at crux.nu crux at crux.nu
Mon Jun 15 10:41:18 UTC 2020


commit 4235e6fc30779801909098fcff6f7276d92a1d3c
Author: Danny Rawlins <monster.romster at gmail.com>
Date:   Mon Jun 15 20:41:08 2020 +1000

    [notify] scrot: 0.8.18 -> 1.3 new dependencies: autoconf-archive xorg-libxcursor

diff --git a/scrot/.signature b/scrot/.signature
index d099016e5..427b99b6d 100644
--- a/scrot/.signature
+++ b/scrot/.signature
@@ -1,6 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF35T0LSKECs04XmJUq6hIoO6o1qJ0FW58spsDu0jqNja9utj1zCtEshMG89eSufiLzaZ1B8Q2hKOPgq20dr+6jgQ=
-SHA256 (Pkgfile) = 1850d0b8870309d289297edf922485210d9030051bb226f8508c56b470ce3116
+RWSagIOpLGJF38S3bhLbSINM+BpnVgEuYq8S+alPwoB+duPuJI2d4n0WVL6icbs0MZMDcn5C4sGwT2TWNXGi8oAQmYY22QRfaQc=
+SHA256 (Pkgfile) = 3e3b23b52eeccb1bcd806936a91f2d8bbaf86c1a5df979497c011a6bae931520
 SHA256 (.footprint) = 4043d00c86d02ab444547ccb9633bddfbe2bbad286f7676a24822fcda3cd5c0e
-SHA256 (scrot_0.8.orig.tar.gz) = 613d1cf524c2b62ce3c65f1232ea4f05c7daf248d5e82ff2a6892c98093994f2
-SHA256 (scrot_0.8-18.debian.tar.xz) = ea000f1f824a57e3058ef83de8d11112d4930cddeb51fb68253fc0756ed3a95d
+SHA256 (scrot-1.3.tar.gz) = b9bfcc01a3021bd53864b3c7b5f7b1b11b3e430be15ce97332431c48003d64ac
diff --git a/scrot/Pkgfile b/scrot/Pkgfile
index 0b873fb48..e007c7678 100644
--- a/scrot/Pkgfile
+++ b/scrot/Pkgfile
@@ -1,27 +1,21 @@
 # Description: Commandline screen capture.
-# URL: https://tracker.debian.org/pkg/scrot
+# URL: https://github.com/resurrecting-open-source-projects/scrot
 # Maintainer: Danny Rawlins, crux at romster dot me
-# Depends on: giblib
+# Depends on: autoconf-archive giblib xorg-libxcursor
 
 name=scrot
-version=0.8.18
+version=1.3
 release=1
-source=(http://http.debian.net/debian/pool/main/s/$name/${name}_${version%.*}.orig.tar.gz
-	http://http.debian.net/debian/pool/main/s/$name/${name}_${version%.*}-${version##*.}.debian.tar.xz)
+source=(https://github.com/resurrecting-open-source-projects/scrot/archive/$version/$name-$version.tar.gz)
 
 build() {
-	for patch in $(<$SRC/debian/patches/series); do
-		patch -p1 -d $SRC/$name-${version%.*} -i $SRC/debian/patches/$patch
-	done
-
-	cd $name-${version%.*}
+	cd $name-$version
 
+	./autogen.sh
 	./configure \
 		--prefix=/usr \
 		--mandir=/usr/share/man
 
 	make
 	make DESTDIR=$PKG install
-
-	rm -r $PKG/usr/doc
 }


More information about the crux-commits mailing list