xbps-devel: update for new stuff in git repo.
This commit is contained in:
parent
adcc7b2c39
commit
1cf52bcc94
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<!-- Prefer the xbps-devel-static pkg over other alternatices -->
|
||||
<key>virtual-pkgver</key>
|
||||
<string>xbps-static-9999</string>
|
||||
<key>target-pkgpattern</key>
|
||||
<string>xbps-devel-static>=0</string>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<!-- Prefer the xbps-devel pkg over other alternatices -->
|
||||
<key>virtual-pkgver</key>
|
||||
<string>xbps-9999</string>
|
||||
<key>target-pkgpattern</key>
|
||||
<string>xbps-devel>=0</string>
|
||||
</dict>
|
||||
</plist>
|
|
@ -13,7 +13,7 @@ long_desc="
|
|||
binary package manager. This packages includes code from a development
|
||||
branch available from https://github.com/xtraeme/xbps"
|
||||
|
||||
conf_files="/etc/xbps-conf.plist"
|
||||
conf_files="/etc/xbps/conf.plist /etc/xbps/repositories.plist"
|
||||
subpackages="$pkgname-static"
|
||||
provides="xbps-9999"
|
||||
replaces="xbps>=0"
|
||||
|
@ -41,3 +41,8 @@ do_fetch() {
|
|||
msg_normal " Fetching source from $url ...\n"
|
||||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/virtualpkg.d/xbps-devel.plist \
|
||||
644 etc/xbps/virtualpkg.d
|
||||
}
|
||||
|
|
|
@ -8,12 +8,14 @@ long_desc="${long_desc}
|
|||
|
||||
provides="xbps-static-9999"
|
||||
replaces="xbps-static>=0"
|
||||
|
||||
Add_dependency run xbps-triggers
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/sbin/*.static ${DESTDIR}/sbin
|
||||
mv ${SRCPKGDESTDIR}/lib/*.a ${DESTDIR}/usr/lib
|
||||
vmove usr/include usr
|
||||
vmove "sbin/*.static" sbin
|
||||
vmove "lib/*.a" usr/lib
|
||||
vinstall ${FILESDIR}/virtualpkg.d/xbps-devel-static.plist \
|
||||
644 etc/xbps/virtualpkg.d
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue