File: maketargz.sh

package info (click to toggle)
lua-iconv 7-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch, trixie
  • size: 132 kB
  • ctags: 33
  • sloc: ansic: 167; makefile: 26; sh: 11
file content (23 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

PACKAGE=lua-iconv
VERSION=7

DIRNAME=$PACKAGE-$VERSION
TGZNAME=$DIRNAME.tar.gz

rm -f $TGZNAME
mkdir $DIRNAME

cp -r debian $DIRNAME/
#rm -rf $DIRNAME/debian/.svn

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