fah: don't manually extract deb
This commit is contained in:
parent
c6859cf8d5
commit
01e33b3053
@ -22,22 +22,12 @@ system_accounts="_fah"
|
||||
_fah_homedir="/usr/libexec/_fah"
|
||||
_fah_descr="Folding@Home user"
|
||||
|
||||
do_extract() {
|
||||
ar p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fahclient_${version}_amd64.deb \
|
||||
data.tar.xz | bsdtar -x -f -
|
||||
ar p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fahcontrol_${version}-1_all.deb \
|
||||
data.tar.xz | bsdtar -x -f -
|
||||
ar p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fahviewer_${version}_amd64.deb \
|
||||
data.tar.xz | bsdtar -x -f -
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr
|
||||
vcopy ${wrksrc}/usr/* usr
|
||||
vcopy usr /
|
||||
vsv FAHClient
|
||||
mv -v ${DESTDIR}/usr/lib/python2.7/{dist,site}-packages
|
||||
vlicense ${DESTDIR}/usr/share/doc/fahclient/copyright LICENSE.FAHClient
|
||||
vlicense ${DESTDIR}/usr/share/doc/fahviewer/LICENSE LICENSE.FAHViewer
|
||||
# Example file to modfiy or cut+paste from for /etc/sv/FAHClient/config
|
||||
# Example file to modify or cut+paste from for /etc/sv/FAHClient/config
|
||||
vsconf ${FILESDIR}/config.example
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user