Package Details: st-git 0.9.r11.g9846a56-1

Git Clone URL: https://aur.archlinux.org/st-git.git (read-only, click to copy)
Package Base: st-git
Description: A simple virtual terminal emulator for X.
Upstream URL: https://st.suckless.org
Licenses: MIT
Conflicts: st
Provides: st
Submitter: vesath
Maintainer: Farzat
Last Packager: Farzat
Votes: 50
Popularity: 0.009452
First Submitted: 2012-11-30 01:40 (UTC)
Last Updated: 2024-01-22 11:26 (UTC)

Dependencies (4)

Required by (5)

Sources (3)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

vonbloom commented on 2021-05-18 13:34 (UTC) (edited on 2021-05-18 13:41 (UTC) by vonbloom)

echo 'Applying patches from $_startdir if they exist...'

This is not going to print $_startdir value. Either replace single quotes by double quotes or concatenate the variable value between the literal string 'Applying patches from '"$_startdir"' if they exist...'

patch -p1 -s -i "$patch"

This is not going to apply any patch, you need to pass the path where the source code is patch -d "$_sourcedir" -p1 -s -i "$patch"

shoober420 commented on 2020-06-05 03:47 (UTC)

@galunid

Thank you, fixed.

galunid commented on 2020-06-04 06:45 (UTC) (edited on 2020-06-04 06:45 (UTC) by galunid)

if [ -d "$_startdir}/patches" ]; then

it has unnecessary "}", thus prevents your PKGBUILD from applying patches

Static_Rocket commented on 2020-05-23 17:43 (UTC)

@shoober420 cool, thanks. Just a heads up: _gitname, _sourcedir, and _gitdir all store the same information. _gitdir is just a variable I created to store the contents of the pkgname variable with "-git" removed. This is just what I use for git pkgbuilds that have a similar name.

Alternatively you could do away with these variables and tell git to download the project into a directory with the same name as the pkgname with this modification to the source variable

source=($pkgname::git://git.suckless.org/st

shoober420 commented on 2020-05-23 13:13 (UTC)

@Static_Rocket Updated and added you to the list of contributors, thank you.

Static_Rocket commented on 2020-05-19 01:17 (UTC) (edited on 2020-05-19 01:32 (UTC) by Static_Rocket)

Alright, well I've made some changes since then. This one is a little cleaner than the one I originally linked: http://ix.io/2mFg

(Mind throwing my name in there somewhere?)

shoober420 commented on 2020-05-13 16:55 (UTC) (edited on 2020-05-13 16:57 (UTC) by shoober420)

Whoops, I uploaded your patch @Static_Rocket. I myself would include the scrollback patch as optional, but it has broke compiling for me in the past.

shoober420 commented on 2020-05-11 17:41 (UTC)

Updated, sorry for the wait.

Static_Rocket commented on 2020-04-14 21:33 (UTC)

@shoober420 I would be honored but I'm not entirely sure the autopatcher is actually useful for a git based package. As the git package grabs the source, the new patches must be fetched manually and have a higher likelihood of breaking. I thought about using the reset in the prepare to keep it locked to a user specified version but then this would make the pkgver script wrong and defeat the purpose of syncing with the git source. I was just goofing around and didn't feel like patching it manually when I was testing.