Package Details: surf-git 2.0.r53.g81f0452-1

Git Clone URL: https://aur.archlinux.org/surf-git.git (read-only, click to copy)
Package Base: surf-git
Description: a WebKit based browser
Upstream URL: http://surf.suckless.org/
Keywords: browser suckless web webkit
Licenses: custom:MIT/X
Conflicts: surf
Provides: surf
Submitter: None
Maintainer: cdude
Last Packager: cdude
Votes: 32
Popularity: 0.23
First Submitted: 2013-03-06 09:28
Last Updated: 2018-04-28 19:50

Dependencies (10)

Required by (2)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Anonymous comment on 2013-03-20 21:13

Is this the intended way to handle such files? In this case here, would it be ok to use $srcdir/../config.h rather than $startdir/config.h?

gtmanfred commented on 2013-03-20 20:27

please do not use $startdir, if anything use $SRCDIR, but even then it should still be in the source=() array and if someone has a custom one, they can run --skipinteg with makepkg

Anonymous comment on 2013-03-06 09:29

Hi, I made a request on the aur-general mailing list, see https://mailman.archlinux.org/pipermail/aur-general/2013-March/022346.html , to remove or merge every hg package for suckless projects, because suckless switched to git.

I created a package surf-git, so yours and mine can get merged. This way the 79 votes don't get lost. I'd be happy to orphan surf-git so you can adopt it afterwards.

Please leave a comment about this here or join the thread on the mailing list.

gtmanfred commented on 2012-12-04 01:41

please make this surf-git and i will merge all comments and votes over

foresense commented on 2012-03-03 01:29

aaaand this one works when you have more then one patch in your folder.

http://codepad.org/btts3tYg

foresense commented on 2012-03-02 17:48

I copied parts of the 'dwm-hg' PKGBUILD into this one, for custom 'config.h' and automatic patching.

http://codepad.org/tmKosYEi

foresense commented on 2012-03-02 17:42

I copied parts of the 'dwm-hg' PKGBUILD into this one, for custom 'config.h' and automatic patching. Substitute everything below the _hgrepo line with the following:

build() {
rm -rf $srcdir/$_hgrepo-build
cp -r $srcdir/$_hgrepo $srcdir/$_hgrepo-build
cd $srcdir/$_hgrepo-build

# for custom patches
if test -e $startdir/*\.patch
then
for i in $startdir/*\.patch
do
msg "patching with $i"
patch -i $i
done
fi

# for custom configs
if test -e $startdir/config.h
then
msg "use custom config.h"
cp ${startdir}/config.h .
else
msg "use default config.h"
fi

# make the Makefile with make.
make
}

package() {
cd $srcdir/$_hgrepo-build
make PREFIX=$pkgdir/usr install
install -Dm644 "$srcdir/$_hgrepo-build/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

lfleischer commented on 2010-09-08 17:25

alexandrite, totoloco: Ack. Should be either a dependency or an optdep.

Anonymous comment on 2010-08-18 03:36

Spoen here (forgot my login info so I made Spoen)

Actually, I think xorg-utils should go in Depends=() not makedepends=().

totoloco commented on 2010-08-13 01:38

Thx spoen :D