forked from juddmon/jpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SlackBuild.in
executable file
·108 lines (108 loc) · 3.9 KB
/
SlackBuild.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#!/bin/bash
#
# First build with
# ./configure --prefix=/usr; make; make install
#
PACKAGE=@PACKAGE@
VERSION=@VERSION@
ARCH=i386
RELEASE=1
#
STARTDIR=`pwd`
TMPDIR=`mktemp -d -t slackware.XXXXXX` || exit 1
# echo Created $TMPDIR
mkdir $TMPDIR/install
cp description-pak $TMPDIR/install/slack-desc
#
cd /
tar cf - \
usr/bin/jpilot \
usr/bin/jpilot-dump \
usr/bin/jpilot-dial \
usr/bin/jpilot-sync \
usr/lib/jpilot/plugins/libexpense.la \
usr/lib/jpilot/plugins/libexpense.so \
usr/lib/jpilot/plugins/libexpense.so.0 \
usr/lib/jpilot/plugins/libexpense.so.0.0.0 \
usr/lib/jpilot/plugins/libsynctime.la \
usr/lib/jpilot/plugins/libsynctime.so \
usr/lib/jpilot/plugins/libsynctime.so.0 \
usr/lib/jpilot/plugins/libsynctime.so.0.0.0 \
usr/lib/jpilot/plugins/libkeyring.la \
usr/lib/jpilot/plugins/libkeyring.so \
usr/lib/jpilot/plugins/libkeyring.so.0 \
usr/lib/jpilot/plugins/libkeyring.so.0.0.0 \
usr/man/man1/jpilot.1 \
usr/man/man1/jpilot-dial.1 \
usr/man/man1/jpilot-sync.1 \
usr/doc/$PACKAGE-$VERSION/AUTHORS \
usr/doc/$PACKAGE-$VERSION/BUGS \
usr/doc/$PACKAGE-$VERSION/COPYING \
usr/doc/$PACKAGE-$VERSION/ChangeLog \
usr/doc/$PACKAGE-$VERSION/INSTALL \
usr/doc/$PACKAGE-$VERSION/README \
usr/doc/$PACKAGE-$VERSION/TODO \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-address.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-datebook.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-expense.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-install.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-memo.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-prefs-1.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-prefs-2.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-prefs-3.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-prefs-4.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-prefs-5.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-prefs-6.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-prefs-7.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-prefs-8.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-print.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-search.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-todo.png \
usr/doc/$PACKAGE-$VERSION/manual/jpilot-toplogo.jpg \
usr/doc/$PACKAGE-$VERSION/manual/manual.html \
usr/doc/$PACKAGE-$VERSION/manual/plugin.html \
usr/doc/$PACKAGE-$VERSION/icons/README \
usr/doc/$PACKAGE-$VERSION/icons/jpilot-icon1.xpm \
usr/doc/$PACKAGE-$VERSION/icons/jpilot-icon2.xpm \
usr/doc/$PACKAGE-$VERSION/icons/jpilot-icon3.xpm \
usr/doc/$PACKAGE-$VERSION/icons/jpilot-icon4.xpm \
usr/share/$PACKAGE/AddressDB.pdb \
usr/share/$PACKAGE/DatebookDB.pdb \
usr/share/$PACKAGE/ExpenseDB.pdb \
usr/share/$PACKAGE/Memo32DB.pdb \
usr/share/$PACKAGE/MemoDB.pdb \
usr/share/$PACKAGE/ToDoDB.pdb \
usr/share/$PACKAGE/TasksDB-PTod.pdb \
usr/share/$PACKAGE/CalendarDB-PDat.pdb \
usr/share/$PACKAGE/ContactsDB-PAdd.pdb \
usr/share/$PACKAGE/MemosDB-PMem.pdb \
usr/share/$PACKAGE/jpilotrc.blue \
usr/share/$PACKAGE/jpilotrc.default \
usr/share/$PACKAGE/jpilotrc.green \
usr/share/$PACKAGE/jpilotrc.purple \
usr/share/$PACKAGE/jpilotrc.steel \
usr/share/locale/ca/LC_MESSAGES/jpilot.mo \
usr/share/locale/cs/LC_MESSAGES/jpilot.mo \
usr/share/locale/da/LC_MESSAGES/jpilot.mo \
usr/share/locale/de/LC_MESSAGES/jpilot.mo \
usr/share/locale/es/LC_MESSAGES/jpilot.mo \
usr/share/locale/fr/LC_MESSAGES/jpilot.mo \
usr/share/locale/it/LC_MESSAGES/jpilot.mo \
usr/share/locale/ja/LC_MESSAGES/jpilot.mo \
usr/share/locale/ko/LC_MESSAGES/jpilot.mo \
usr/share/locale/nl/LC_MESSAGES/jpilot.mo \
usr/share/locale/no/LC_MESSAGES/jpilot.mo \
usr/share/locale/ru/LC_MESSAGES/jpilot.mo \
usr/share/locale/rw/LC_MESSAGES/jpilot.mo \
usr/share/locale/sv/LC_MESSAGES/jpilot.mo \
usr/share/locale/tr/LC_MESSAGES/jpilot.mo \
usr/share/locale/uk/LC_MESSAGES/jpilot.mo \
usr/share/locale/vi/LC_MESSAGES/jpilot.mo \
usr/share/locale/zh_CN/LC_MESSAGES/jpilot.mo \
usr/share/locale/zh_TW/LC_MESSAGES/jpilot.mo \
| (cd $TMPDIR; tar xf -)
#
cd $TMPDIR
makepkg -l n -c n $PACKAGE-$VERSION-$ARCH-$RELEASE.tgz
cp $TMPDIR/*.tgz $STARTDIR/
rm -rf $TMPDIR