From 80d5d99835d78b8f866ebcafbc91a499f235f0f2 Mon Sep 17 00:00:00 2001 From: Kwpolska Date: Sun, 3 Mar 2013 10:16:38 +0100 Subject: [PATCH] =?UTF-8?q?Modify=20release=20scripts=20to=20fit=20aurploa?= =?UTF-8?q?der=E2=80=99s=20mood?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kwpolska --- release | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/release b/release index 7a37474..55c6e60 100755 --- a/release +++ b/release @@ -128,17 +128,35 @@ read bailout ./setup.py sdist upload +###: AUR Package Creation md5out=$(md5sum 'dist/'$project'-'$version'.tar.gz'|awk '{print $1}') sed "s/md5sums=.*/md5sums=('$md5out')/" PKGBUILD -i +###: python2-$project package +#sed "s/md5sums=.*/md5sums=('$md5out')/" PKGBUILD-2 -i + rm -rf MKPKGBUILD -mkdir -p MKPKGBUILD/$project{,-git} -cp PKGBUILD MKPKGBUILD/$project -cp PKGBUILD-git MKPKGBUILD/$project"-git/PKGBUILD" +mkdir MKPKGBUILD cd MKPKGBUILD -tar -czvf $project.src.tar.gz $project -tar -czvf $project"-git".src.tar.gz $project"-git" -aurploader -a $project{,-git}.src.tar.gz +###: $project{,-git} packages +mkdir $project{,-git} +cp ../PKGBUILD ./$project +cp ../PKGBUILD-git ./$project"-git/PKGBUILD" +tar -czvf $project"-0.1.0-1".src.tar.gz $project +tar -czvf $project"-git-19700101-1".src.tar.gz $project"-git" + +###: python{2,}-$project{,-git} packages +#mkdir python{,2}'-'$project{,-git} +#cp ../PKGBUILD ./python-$project +#cp ../PKGBUILD-git ./python-$project"-git/PKGBUILD" +#cp ../PKGBUILD-2 ./python2-$project/PKGBUILD +#cp ../PKGBUILD-2-git ./python2-$project"-git/PKGBUILD" +#tar -czvf python-$project"-0.1.0-1".src.tar.gz python-$project +#tar -czvf python2-$project"-0.1.0-1".src.tar.gz python-$project +#tar -czvf python-$project"-git-19700101-1".src.tar.gz python-$project"-git" +#tar -czvf python2-$project"-git-19700101-1".src.tar.gz python-$project"-git" + +aurploader -a *.src.tar.gz cd .. rm -rf MKPKGBUILD