diff --git a/common/build-style/slashpackage.sh b/common/build-style/slashpackage.sh index fcf0f076ce0..83ad0304776 100644 --- a/common/build-style/slashpackage.sh +++ b/common/build-style/slashpackage.sh @@ -5,7 +5,8 @@ # required variables # # build_style=slashpackage -# wrksrc=/${pkgname}-${version} +# wrksrc= +# build_wrksrc=${pkgname}-${version} # distfiles= # # example (daemontools) @@ -14,15 +15,14 @@ # pkgname=daemontools # version=0.76 # revision=1 -# wrksrc=admin/${pkgname}-${version} +# wrksrc=admin +# build_wrksrc=${pkgname}-${version} # build_style=slashpackage # short_desc="A collection of tools for managing UNIX services" # maintainer="bougyman " # license="Public Domain" # homepage="http://cr.yp.to/daemontools.html" # distfiles="http://cr.yp.to/daemontools/${pkgname}-${version}.tar.gz" -# -# patch_args="-p1" # << important for most slashpackage patches do_build() { package/compile diff --git a/srcpkgs/daemontools/template b/srcpkgs/daemontools/template index a10cb2afec4..335c848f2b2 100644 --- a/srcpkgs/daemontools/template +++ b/srcpkgs/daemontools/template @@ -1,9 +1,9 @@ # Template file for 'daemontools' pkgname=daemontools version=0.76 -revision=3 +revision=1 wrksrc=admin -build_wrksrc=admin/${pkgname}-${version} +build_wrksrc=${pkgname}-${version} build_style=slashpackage short_desc="A collection of tools for managing UNIX services" maintainer="bougyman " @@ -11,5 +11,3 @@ license="Public Domain" homepage="http://cr.yp.to/daemontools.html" distfiles="http://cr.yp.to/daemontools/${pkgname}-${version}.tar.gz" checksum=a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f - -patch_args="-p1"