Package Details: st-git 20160811.023225e-1

Git Clone URL: https://aur.archlinux.org/st-git.git (read-only)
Package Base: st-git
Description: Simple virtual terminal emulator for X
Upstream URL: http://st.suckless.org/
Licenses: MIT
Conflicts: st
Provides: st
Submitter: vesath
Maintainer: mar77i
Last Packager: mar77i
Votes: 40
Popularity: 0.897678
First Submitted: 2012-11-30 01:40
Last Updated: 2016-09-03 12:43

Dependencies (4)

Required by (2)

Sources (1)

Pinned Comments

mar77i commented on 2016-05-03 19:48

config.h is optional by design. The way the PKGBUILD is written is so that you can extend the source array with your own config.h but don't have to. You can also can add patches there.
As has been noted, the PKGBUILD only copies things it finds in the source array, while already assuming that it would be in the PKGBUILD's directory.
If anyone of you still has issues feel free to drop me an email.

Latest Comments

mar77i commented on 2016-09-03 11:44

great idea prash, I included that.

prash commented on 2016-08-26 10:07

Please replace line 49 with
patch -Np1 <"$srcdir/$(basename ${file})"

That way, users can include URLs for patches hosted at suckless.org. They might have to modify the sha1sums array, but that's something they can figure out while modifying the source array.

tetris4life commented on 2016-08-07 00:12

I was running into an issue where I built the package which created a config.h and later on I patched the config.def.h but it was not used due to the now existing config.h

I just deleted the config.h and the package recreated it taking the now patched version of config.def.h

Just something to be aware of if you are applying patches and redoing the makepkg.

JonnyRobbie commented on 2016-05-03 20:08

So where should we put config.h and diff patches? The directory with PKGBUILD doesn't seem to work.

mar77i commented on 2016-05-03 19:48

config.h is optional by design. The way the PKGBUILD is written is so that you can extend the source array with your own config.h but don't have to. You can also can add patches there.
As has been noted, the PKGBUILD only copies things it finds in the source array, while already assuming that it would be in the PKGBUILD's directory.
If anyone of you still has issues feel free to drop me an email.

JonnyRobbie commented on 2016-05-03 18:41

fedemp:

that's beacause `"${source[@]}"` in PKGBUILD points to git://git.suckless.org/st instead to your clone directory.

If you use $AURDEST you might be able to modify PGKBUILD to use files from there....I haven't figured out how yet...

ubone commented on 2016-04-21 17:25

Just a tip. If you want a brighter red cursor change " 1 " to " 9 " in " -e '/int defaultcs/s/= .*/= 1;/' \ " for other colours http://git.suckless.org/st/tree/config.def.h

fedemp commented on 2016-03-11 14:31

config.h in the source directory is not used at compilation time. i.e. I created a config.h in the same directory where I have PKGBUILD.

bidulock commented on 2015-09-19 05:18

conflicts with ncurses-6.0-3 in core

do not install terminfo entries

phillid commented on 2015-09-03 11:47

Please change instances of $SRCDEST to $srcdir. This PKGBUILD works fine until you have an SRCDEST set in makepkg.conf which isn't the same as the working directory.

All comments