mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-23 04:34:33 +02:00
27 lines
466 B
Bash
Executable File
27 lines
466 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PACKAGE=lua-iconv
|
|
VERSION=r4
|
|
|
|
DIRNAME=$PACKAGE-$VERSION
|
|
TGZNAME=$DIRNAME.tar.gz
|
|
|
|
rm -f $TGZNAME
|
|
mkdir $DIRNAME
|
|
|
|
mkdir $DIRNAME/debian
|
|
cp debian/changelog $DIRNAME/debian/
|
|
cp debian/control $DIRNAME/debian/
|
|
cp debian/copyright $DIRNAME/debian/
|
|
cp debian/rules $DIRNAME/debian/
|
|
|
|
cp -r COPYING Makefile README luaiconv.c test_iconv.lua $DIRNAME
|
|
|
|
tar -czf $TGZNAME $DIRNAME
|
|
|
|
#cd $DIRNAME dpkg-buildpackage -rfakeroot
|
|
#cd ..
|
|
|
|
rm -rf $DIRNAME
|
|
tar -tzf $TGZNAME
|