yapo: move man page to /usr/share/man

This commit is contained in:
Juergen Daubert 2016-09-05 10:23:30 +02:00
parent 42b098a23e
commit b986c1b179
2 changed files with 6 additions and 5 deletions

View File

@ -3,6 +3,7 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/yapo -rwxr-xr-x root/root usr/bin/yapo
drwxr-xr-x root/root usr/etc/ drwxr-xr-x root/root usr/etc/
-rw-r--r-- root/root usr/etc/yapo.conf -rw-r--r-- root/root usr/etc/yapo.conf
drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/man/man8/ drwxr-xr-x root/root usr/share/man/
-rw-r--r-- root/root usr/man/man8/yapo.8.gz drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/yapo.8.gz

View File

@ -5,11 +5,11 @@
name=yapo name=yapo
version=0.3.2 version=0.3.2
release=2 release=3
source=(http://jue.li/crux/$name/$name-$version.tar.gz) source=(http://jue.li/crux/$name/$name-$version.tar.gz)
build () { build () {
cd $name-$version cd $name-$version
sed -ri 's/(Config)($|[.])/YapoConfig\2/' yapo.rb sed -ri 's/(Config)($|[.])/YapoConfig\2/' yapo.rb
make DESTDIR=$PKG install make MANDIR=/usr/share/man/man8 DESTDIR=$PKG install
} }