Created
December 11, 2014 13:59
-
-
Save prologic/85298ffb5cdb15f7c5b6 to your computer and use it in GitHub Desktop.
created by github.com/tr3buchet/gister
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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