Skip to content

Instantly share code, notes, and snippets.

@prologic
Created December 11, 2014 13:59
Show Gist options
  • Save prologic/85298ffb5cdb15f7c5b6 to your computer and use it in GitHub Desktop.
Save prologic/85298ffb5cdb15f7c5b6 to your computer and use it in GitHub Desktop.
created by github.com/tr3buchet/gister
# Description:
# URL:
# Maintainer:
# Packager:
# Depends on:
name=gophernicus
version=1.6
release=1
source=(http://gophernicus.org/software/$name/$name-$version.tar.gz)
build() {
cd $name-$version
# Patch
sed -i -e 's/#define PASSWD_MIN_UID 500/#define PASSWD_MIN_UID 100/' gophernicus.h
# Build
make
# Package
make ROOT=$PKG/var/gopher DESTDIR=$PKG/usr install
# Cleanup
rm $PKG/var/gopher/docs
ln -sf /usr/share/doc/gophernicus $PKG/var/gopher/docs
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment