about summary refs log tree commit diff
path: root/xnew
diff options
context:
space:
mode:
authorbeefcurtains <beefcurtains@users.noreply.github.com>2015-05-28 08:24:11 +0000
committerChristian Neukirchen <chneukirchen@gmail.com>2015-05-28 17:44:14 +0200
commit0f2ee339ae133e7de9045d3c7d480335a8144cd7 (patch)
tree816151d1a07466c078c9fc365f15314025b617cc /xnew
parent736df08ff993171a2c1b0f7f49d653c4af249e85 (diff)
downloadxtools-0f2ee339ae133e7de9045d3c7d480335a8144cd7.tar.gz
xtools-0f2ee339ae133e7de9045d3c7d480335a8144cd7.tar.xz
xtools-0f2ee339ae133e7de9045d3c7d480335a8144cd7.zip
xnew: use ${sourcepkg}
Packagers (such as myself) would incorrectly change $PKG into ${pkgname}.
This causes a broken  dependency problem  when installing those packages.
Diffstat (limited to 'xnew')
-rwxr-xr-xxnew2
1 files changed, 1 insertions, 1 deletions
diff --git a/xnew b/xnew
index 5cb76f3..2345586 100755
--- a/xnew
+++ b/xnew
@@ -64,7 +64,7 @@ ${subpkg}_package() {
 EOF
 	case $subpkg in
 	*-devel) cat >>$srcdir/$PKG/template <<EOF
-	depends="$PKG>=\${version}_\${revision}"
+	depends="\${sourcepkg}>=\${version}_\${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/share/man/man3