fah: don't manually extract deb
This commit is contained in:
parent
c6859cf8d5
commit
01e33b3053
1 changed files with 2 additions and 12 deletions
|
@ -22,22 +22,12 @@ system_accounts="_fah"
|
||||||
_fah_homedir="/usr/libexec/_fah"
|
_fah_homedir="/usr/libexec/_fah"
|
||||||
_fah_descr="Folding@Home user"
|
_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() {
|
do_install() {
|
||||||
vmkdir usr
|
vcopy usr /
|
||||||
vcopy ${wrksrc}/usr/* usr
|
|
||||||
vsv FAHClient
|
vsv FAHClient
|
||||||
mv -v ${DESTDIR}/usr/lib/python2.7/{dist,site}-packages
|
mv -v ${DESTDIR}/usr/lib/python2.7/{dist,site}-packages
|
||||||
vlicense ${DESTDIR}/usr/share/doc/fahclient/copyright LICENSE.FAHClient
|
vlicense ${DESTDIR}/usr/share/doc/fahclient/copyright LICENSE.FAHClient
|
||||||
vlicense ${DESTDIR}/usr/share/doc/fahviewer/LICENSE LICENSE.FAHViewer
|
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
|
vsconf ${FILESDIR}/config.example
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue