mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
elog: actuallly commit all changes
This commit is contained in:
parent
596aeaef18
commit
c03f846232
1 changed files with 14 additions and 14 deletions
|
@ -3,7 +3,7 @@ pkgname=elog
|
|||
version=3.1.4.3
|
||||
revision=1
|
||||
_distver="${version:0:-2}-${version:(-1)}"
|
||||
wrksrc="$pkgname-${version%.*}"
|
||||
wrksrc="$pkgname-${_distver}"
|
||||
build_style=gnu-makefile
|
||||
CFLAGS="-Imxml"
|
||||
make_dirs="/var/lib/elog/logbooks 0750 elog elog"
|
||||
|
@ -18,17 +18,17 @@ distfiles="https://elog.psi.ch/elog/download/tar/$pkgname-$_distver.tar.gz"
|
|||
checksum=e684917c6bbdfbafcbd9012dd5914bd5f3ee14f31f89e12ddb21bc4b41baba03
|
||||
|
||||
do_install() {
|
||||
vbin elog
|
||||
vbin elogd
|
||||
vbin elconv
|
||||
vman man/elog.1
|
||||
vmkdir usr/share/elog
|
||||
vcopy resources usr/share/elog
|
||||
vcopy scripts usr/share/elog
|
||||
vcopy themes usr/share/elog
|
||||
sed -i '/\[global\]/s/$/\nLogbook dir = \/var\/lib\/elog\/logbooks/' elogd.cfg
|
||||
sed -i '/\[global\]/s/$/\nResource dir = \/usr\/share\/elog/' elogd.cfg
|
||||
vmkdir etc/elog
|
||||
vinstall elogd.cfg 0755 etc/elog
|
||||
vsv elogd
|
||||
vbin elog
|
||||
vbin elogd
|
||||
vbin elconv
|
||||
vman man/elog.1
|
||||
vmkdir usr/share/elog
|
||||
vcopy resources usr/share/elog
|
||||
vcopy scripts usr/share/elog
|
||||
vcopy themes usr/share/elog
|
||||
sed -i '/\[global\]/s/$/\nLogbook dir = \/var\/lib\/elog\/logbooks/' elogd.cfg.example
|
||||
sed -i '/\[global\]/s/$/\nResource dir = \/usr\/share\/elog/' elogd.cfg.example
|
||||
vmkdir etc/elog
|
||||
vinstall elogd.cfg.example 0755 etc/elog elogd.cfg
|
||||
vsv elogd
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue