I'm having some troubles with a port I'm writting:
The program is 'fish', an interactive shell.
After doing the 'make install', the build script should append to /etc/shells
the following line:
/usr/bin/fish
my Pkgfile looks like this and when the tlz is created, it appends the line, not when installed
#package: fish (user friendly command line shell)
#Packaged by kidd
name=fish
version=1.22.3
release=1
source=(http://www.fishshell.org/files/1.22.3/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/man --libdir=/usr/lib --bindir=/usr/bin --localstatedir=/var --with-included-gettext
make || exit 1
make DESTDIR=$PKG install || exit 1
grep -li 'fish' /etc/shells || echo '/usr/bin/fish' >> /etc/shells
}
Browsing the tlz file I see doinst.sh is empty
Suggestions?