about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEnno Boland <g@s01.de>2014-09-28 23:56:41 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2014-10-10 16:44:40 +0200
commite5db7b287e90ebd76eb9a6e0aaaa7b2c720cf041 (patch)
tree77501242b60ebe994859b96342edc0dd58b7131b
parente56fde89d78cc20bb1693f47e29f30f9a6912cfc (diff)
downloadxtools-e5db7b287e90ebd76eb9a6e0aaaa7b2c720cf041.tar.gz
xtools-e5db7b287e90ebd76eb9a6e0aaaa7b2c720cf041.tar.xz
xtools-e5db7b287e90ebd76eb9a6e0aaaa7b2c720cf041.zip
xnew: vmove man3 to -devel too
-rwxr-xr-xxbump1
-rwxr-xr-xxnew1
2 files changed, 2 insertions, 0 deletions
diff --git a/xbump b/xbump
index df30d9f..8055452 100755
--- a/xbump
+++ b/xbump
@@ -4,6 +4,7 @@
 cd $(xdistdir)
 
 pkg=$1; shift
+[ -z "$pkg" ] && pkg=`basename $PWD`
 version=$(./xbps-src show "$pkg" | sed -n '/^version/s/[^:]*:[\t]*//p')
 
 if [ -n "$(git ls-files srcpkgs/"$pkg"/template)" ]; then
diff --git a/xnew b/xnew
index 236b796..188c326 100755
--- a/xnew
+++ b/xnew
@@ -43,6 +43,7 @@ EOF
 	depends="$PKG>=\${version}_\${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
+		vmove usr/share/man/man3
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 		vmove "usr/lib/*.a"