Package Details: screen-git v.4.2.1.580.gfbee2ab-1

Git Clone URL: https://aur.archlinux.org/screen-git.git (read-only, click to copy)
Package Base: screen-git
Description: Full-screen window manager that multiplexes a physical terminal with true-color support
Upstream URL: https://www.gnu.org/software/screen/
Licenses: GPL
Conflicts: screen
Provides: screen
Submitter: alyptik
Maintainer: alyptik
Last Packager: alyptik
Votes: 1
Popularity: 0.000000
First Submitted: 2017-04-03 21:24 (UTC)
Last Updated: 2017-04-03 21:24 (UTC)

Required by (41)

Sources (3)

Latest Comments

Premik commented on 2023-03-13 13:45 (UTC)

Doing the changes from the comments I managed built this. But getting permission errors on the /dev/pts/x when started. And I still couldn't get even this version to support the true-colors in the terminal..

Anyway this is the patch:

From 4388e1141e9cbd240b2d75eab2c7e0ec06e5316d Mon Sep 17 00:00:00 2001
From: Premik 
Date: Mon, 13 Mar 2023 13:56:56 +0100
Subject: [PATCH] Fixes per suggestions in the AUR comments - Removed '.v'
 prefix from the version string. - Added some `arm` archs. - Changed the git
 url to `https` - Added `autoreeconf -i`

---
 .SRCINFO   |  5 ++---
 .gitignore |  4 ++++
 PKGBUILD   | 13 +++++++++----
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index c9672b9..c0cf0a3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = screen-git
    pkgdesc = Full-screen window manager that multiplexes a physical terminal with true-color support
-   pkgver = v.4.2.1.580.gfbee2ab
+   pkgver = 4.9.0.r1280.6df4a48
    pkgrel = 1
    url = https://www.gnu.org/software/screen/
    arch = i686
@@ -13,7 +13,7 @@ pkgbase = screen-git
    options = !makeflags
    backup = etc/screenrc
    backup = etc/pam.d/screen
-   source = screen::git+http://git.savannah.gnu.org/git/screen.git
+   source = screen::git+https://git.savannah.gnu.org/git/screen.git
    source = tmpfiles.d
    source = pam.d
    validpgpkeys = 2EE59A5D0C50167B5535BBF1B708A383C53EF3A4
@@ -23,4 +23,3 @@ pkgbase = screen-git
    sha256sums = 971c25929ea97422c09e10679ab98e9e6c59295aae1a4a9970909d2206e23090

 pkgname = screen-git
-
diff --git a/.gitignore b/.gitignore
index 3819313..aabb9d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,6 @@
 *.swp
 *.swo
+*.pkg.tar.*
+pkg
+screen
+src
\ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index e021e1d..8efd3ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,16 +5,16 @@

 pkgname=screen-git
 _pkgname=screen
-pkgver=v.4.2.1.580.gfbee2ab
+pkgver=4.9.0.r1280.6df4a48
 pkgrel=1
 pkgdesc='Full-screen window manager that multiplexes a physical terminal with true-color support'
 url='https://www.gnu.org/software/screen/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7l' 'armv7h' 'armv6h' 'armv5')
 license=('GPL')
 depends=('ncurses' 'pam')
 validpgpkeys=('2EE59A5D0C50167B5535BBF1B708A383C53EF3A4'
               '71AA09D9E8870FDB0AA7B61E21F968DEF747ABD7')
-source=("${_pkgname}::git+http://git.savannah.gnu.org/git/screen.git"
+source=("${_pkgname}::git+https://git.savannah.gnu.org/git/screen.git"
         'tmpfiles.d'
         'pam.d')

@@ -31,11 +31,16 @@ _ptygroup=5 #the UID of our PTY/TTY group

 pkgver() {
    cd "${srcdir}/${_pkgname}"
-   git describe --tags |sed 's/-/./g'
+   # Tag without the `.v` prefix
+   tag=$(git tag -l --sort -v:refname | head -n1| sed  's/^v.//;s/-/-/g')
+   rev=$(git rev-list --count HEAD)
+   hash=$(git rev-parse --short HEAD)
+   printf "%s.r%s.%s" "$tag" "$rev" "$hash"    
 }

 build() {
    cd "${srcdir}/${_pkgname}/src"
+   autoreconf -i
    ./autogen.sh
    ./configure \
        --prefix=/usr \
-- 
2.39.2


zxcv commented on 2023-03-07 17:00 (UTC)

I managed to build this on aarch64 (Archlinux ARM) by editing PKGBUILD. One needs to add: autoreconf -i before ./autogen.sh in build() section.

micwoj92 commented on 2022-09-27 23:08 (UTC)

Please remove v. prefix from pkgver, thanks.

aramirez commented on 2022-06-23 21:59 (UTC)

Fails to build on my machine. Build log: https://pastebin.com/raw/LCq2F3m1

Aside from that, armv7l could be added to arch. I successfully built screen on a Raspberry Pi 2 by simply running cd src && ./configure && make (skipping autogen.sh).

thaewrapt commented on 2020-06-11 05:53 (UTC)

NB: there is a problem with versioning for this package right now upstream, you can follow up at https://savannah.gnu.org/bugs/?58539